Creates a vector of normally distributed random numbers.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleVector DoubleNormalRandomVector( int length, double mean, double standardDeviation, int seed ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function DoubleNormalRandomVector ( _ length As Integer, _ mean As Double, _ standardDeviation As Double, _ seed As Integer _ ) As DoubleVector |
| Visual C++ |
|---|
public: static DoubleVector^ DoubleNormalRandomVector( int length, double mean, double standardDeviation, int seed ) |
Parameters
- length
- Type: System..::.Int32
Length of the vector to create.
- mean
- Type: System..::.Double
Desired mean of the deviates.
- standardDeviation
- Type: System..::.Double
Desired standard deviation of the deviates.
- seed
- Type: System..::.Int32
Random number generator seed.