If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > RandG in Delphi programming

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-03, 08:40
LHJDen LHJDen is offline
Registered User
 
Join Date: Jan 2003
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 02-24-03, 18:53
RDWilson2 RDWilson2 is offline
Registered User
 
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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On