1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Usage
vtkGaussianRandomSequence is a sequence of pseudo random
numbers distributed according to the Gaussian/normal
distribution (mean=0 and standard deviation=1).
It based is calculation from a uniformly distributed pseudo
random sequence. The initial sequence is a
vtkMinimalStandardRandomSequence.
To create an instance of class vtkBoxMuellerRandomSequence,
simply invoke its constructor as follows
obj = vtkBoxMuellerRandomSequence
Methods
The class vtkBoxMuellerRandomSequence has several methods
that can be used. They are listed below. Note that the
documentation is translated automatically from the VTK
sources, and may not be completely intelligible. When in
doubt, consult the VTK website. In the methods listed below,
obj is an instance of the vtkBoxMuellerRandomSequence class.
* string = obj.GetClassName ()
* int = obj.IsA (string name)
* vtkBoxMuellerRandomSequence = obj.NewInstance ()
* vtkBoxMuellerRandomSequence = obj.SafeDownCast (vtkObject
o)
* double = obj.GetValue () - Current value.
* obj.Next () - Move to the next number in the random
sequence.
* vtkRandomSequence = obj.GetUniformSequence () - Return the
uniformly distributed sequence of random numbers.
* obj.SetUniformSequence (vtkRandomSequence uniformSequence)
- Set the uniformly distributed sequence of random
numbers. Default is a .
* FreeMat_Documentation
* Visualization_Toolkit_Common_Classes
* Generated on Thu Jul 25 2013 17:18:30 for FreeMat by
doxygen_ 1.8.1.1
|