Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    1

    Unanswered: RandG in Delphi programming

    HI

    I have to use a Gaussian distribution in my program.
    I wanna use the RandG function.

    Is it true, that this function returns a pseudo-random number ?
    If yes, is this function then usable to make a Gaussian distribution ?

    Thanx

    Lars

  2. #2
    Join Date
    Feb 2003
    Location
    San Antonio, TX
    Posts
    31

    Re: Psuedo Random Numbers

    ALL Random Number generators in ANY programming language are _at_best_ "psuedo random number generators". There is no such thing as a "true" random number generator on a computer and there never has been.

    As to using it for a Gausian Disrobution, if you know how to specify/generate the distrobution from a "Random Number", then assume the RN generator to be valid and set up your code. Then do some testing on the seed you use to generate the RN's and don't use a "bad seed". That's the best you can hope for.
    Ralph D. Wilson II
    email: rwilson@thewizardsguild.com
    URL: http://thewizardsguild.com

    "Any sufficiently advanced technology is indistinguishable from magic." A.C. Clark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •