| NMathFunctionsDoubleNormalRandomVector Method |
Creates a vector of normally distributed random numbers.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector DoubleNormalRandomVector(
int length,
double mean,
double standardDeviation,
int seed
)
Public Shared Function DoubleNormalRandomVector (
length As Integer,
mean As Double,
standardDeviation As Double,
seed As Integer
) As DoubleVector
public:
static DoubleVector^ DoubleNormalRandomVector(
int length,
double mean,
double standardDeviation,
int seed
)
static member DoubleNormalRandomVector :
length : int *
mean : float *
standardDeviation : float *
seed : int -> DoubleVector
Parameters
- length Int32
- Length of the vector to create.
- mean Double
- Desired mean of the deviates.
- standardDeviation Double
- Desired standard deviation of the deviates.
- seed Int32
- Random number generator seed.
Return Value
DoubleVectorA vector with random entries.
See Also