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