MatrixRandom(Int32, Int32) Method |
Generate a matrix with random elements
Namespace: DotNumerics.LinearAlgebraAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Matrix Random(
int rows,
int columns
)
Public Shared Function Random (
rows As Integer,
columns As Integer
) As Matrix
Request Example
View SourceParameters
- rows Int32
- Number of rows.
- columns Int32
- Number of columns.
Return Value
MatrixAn m-by-n matrix with uniformly distributed
random elements in
[0, 1) interval.
See Also