The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Create


Unit:SDL_statis
Class:TRandGen
Declaration:constructor Create;

The call to the constructor Create instantiates an object of the class TRandGen and allocates the necessary heap memory. If there is not enough memory space on the heap, an exception is generated ('not enough memory on heap').

Hint: The reference points of a newly created random generator are initialized to 1.0 (thus delivering a uniform distribution, by default).


Last Update: 2012-Oct-20