Click or drag to resize

NMathFunctionsDoubleNormalRandomMatrix Method

Creates a matrix of normally distributed random numbers.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix DoubleNormalRandomMatrix(
	int rows,
	int cols,
	double mean,
	double standardDeviation,
	int seed
)

Parameters

rows  Int32
Number of rows in the matrix.
cols  Int32
Number of columns in the matrix.
mean  Double
Desired mean of the deviates.
standardDeviation  Double
Desired standard deviation of the deviates.
seed  Int32
Random number generator seed.

Return Value

DoubleMatrix
rows x cols matrix with random entries.
See Also