Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to do Factorials in VFP with Recursion
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00335196
Message ID:
00336173
Views:
19
Joe,

There are ways of writing functions around the pseudo-random number generator that can make the distribution of values match any curve you desire. I did a lot of work in this area during my undergrad and grad school days doing Monte Carlo based simulation of radiation transport.

>If you want to get sophisticated with the testing, you can also determine what will be the likely range of numbers. For example, if the numbers being passed to the function are going to be in the range of 25-35 95% of the time, then the results in this range of numbers should weigh more heavily than the results in other ranges of numbers.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform