Click or drag to resize

NMathFunctionsDoubleRandomMatrix Method

Creates a matrix of uniformly distributed random numbers.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix DoubleRandomMatrix(
	int rows,
	int cols,
	double min,
	double max,
	int seed
)

Parameters

rows  Int32
Number of rows in the matrix.
cols  Int32
Number of columns in the matrix.
min  Double
Minimum value for random deviates.
max  Double
Maximum value for random deviates.
seed  Int32
Random number generator seed.

Return Value

DoubleMatrix
rows x cols matrix with random entries.
See Also