Rank: 2035 based on 31 downloads (last 30 days) and 6 files submitted
photo

Paul de Wit

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Paul View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Oct 2006 Random number generation Function which generation n random numbers between 0 and 1 Author: Paul de Wit approximation, interpolation, random, generation, l ecuyer et al, mathematics 6 4
  • 3.0
3.0 | 2 ratings
11 Feb 2005 Screenshot RiskII Play the Risk board game. Author: Paul de Wit games, board, game, risk, play 2 1
  • 1.0
1.0 | 1 rating
03 Nov 2004 Broydens Method Compute the solution for a system of nonlinear equations. Author: Paul de Wit approximation, interpolation, broyden, nonlinear, solution, method 6 2
  • 2.5
2.5 | 2 ratings
27 Sep 2004 Screenshot Dynamic plotting A gui able to generate dynamic plots on up to four axes, also able to save any number of functions Author: Paul de Wit specialized, plotting, dynamic, plots, movie, graphs 7 1
  • 5.0
5.0 | 1 rating
04 Aug 2004 Screenshot Agitation-Board game aka Trouble be the first to get all 4 pieces around the board. Author: Paul de Wit games, board game, dice, game, agitation 7 2
  • 5.0
5.0 | 2 ratings
Comments and Ratings on Paul's Files View all
Updated File Comment by Comments Rating
06 Jan 2008 Risk Determines if the offensive or defensive dice win for a popular board game. Author: Paul de Wit Ridder, Brad

I have no idea what this thing is doing. What iterations? Do you mean the number of times you are expected to attack? If thats the case, then this is pretty useless, since you are only going to choose to attack again after viewing the results of the first attack. Its an excellent idea, but it really needs to polished up, and its purpose clarified.

14 May 2007 Risk Determines if the offensive or defensive dice win for a popular board game. Author: Paul de Wit Hollmann, Joseph

This is a great idea but I have no idea how to utilize it. Needs a heck of a lot of comments to make its operations clear.

20 Jan 2007 Risk Determines if the offensive or defensive dice win for a popular board game. Author: Paul de Wit MG, Edu

Excellent!!! I've been wondered what it's better. The only problem is that I have bad luck with dices!!!

16 Nov 2006 Random number generation Function which generation n random numbers between 0 and 1 Author: Paul de Wit Connelly, Paul

How can I backtrack a PRN. I'm trying to find an algorithm that I can scramble and then unscramble with PRN. Any ideas pointers?

24 Oct 2006 Random number generation Function which generation n random numbers between 0 and 1 Author: Paul de Wit D'Errico, John

This seems quite a bit better for speed now. Its still not as fast as the builtin rand, but I imagine to get maximum speed from this you would need carefully written compiled code. Thanks for the improvement.

I've noticed one other point since - if you call this repeatedly with the same starting integer, you get the same exact pseudo-random sequence.

If you call it repeatedly with a different starting point, then the sequence is the same for the for the first few values. Changing the starting point introduces an offset.

>> r = prng(10,7)'
r =
0.763
0.20333
0.40782
0.48588
0.076487
0.13995
0.4621
0.27007
0.67838
0.2846

>> r = prng(10,8)'
r =
0.20333
0.40782
0.48588
0.076487
0.13995
0.86102
0.669
0.077306
0.68352
0.91051

So, if you need many random numbers, generate the entire set of numbers that you will ever need in one call.

To repair this, can this RNG be set to pick up where the last call left off? Could you use a persistent variable to have it remember the final state of the RNG?

Top Tags Applied by Paul
games, approximation, game, interpolation, risk
Files Tagged by Paul View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Oct 2006 Random number generation Function which generation n random numbers between 0 and 1 Author: Paul de Wit approximation, interpolation, random, generation, l ecuyer et al, mathematics 6 4
  • 3.0
3.0 | 2 ratings
11 Feb 2005 Screenshot RiskII Play the Risk board game. Author: Paul de Wit games, board, game, risk, play 2 1
  • 1.0
1.0 | 1 rating
03 Nov 2004 Broydens Method Compute the solution for a system of nonlinear equations. Author: Paul de Wit approximation, interpolation, broyden, nonlinear, solution, method 6 2
  • 2.5
2.5 | 2 ratings
27 Sep 2004 Screenshot Dynamic plotting A gui able to generate dynamic plots on up to four axes, also able to save any number of functions Author: Paul de Wit specialized, plotting, dynamic, plots, movie, graphs 7 1
  • 5.0
5.0 | 1 rating
04 Aug 2004 Screenshot Agitation-Board game aka Trouble be the first to get all 4 pieces around the board. Author: Paul de Wit games, board game, dice, game, agitation 7 2
  • 5.0
5.0 | 2 ratings

Contact us