| NMathFunctionsDoubleNormalRandomMatrix Method |
Creates a matrix of normally distributed random numbers.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleMatrix DoubleNormalRandomMatrix(
int rows,
int cols,
double mean,
double standardDeviation,
int seed
)
Public Shared Function DoubleNormalRandomMatrix (
rows As Integer,
cols As Integer,
mean As Double,
standardDeviation As Double,
seed As Integer
) As DoubleMatrix
public:
static DoubleMatrix^ DoubleNormalRandomMatrix(
int rows,
int cols,
double mean,
double standardDeviation,
int seed
)
static member DoubleNormalRandomMatrix :
rows : int *
cols : int *
mean : float *
standardDeviation : float *
seed : int -> DoubleMatrix
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
DoubleMatrixrows x
cols matrix with random entries.
See Also