SymmetricMatrixRandom(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 SymmetricMatrix Random(
int size,
int Seed
)
Public Shared Function Random (
size As Integer,
Seed As Integer
) As SymmetricMatrix
Request Example
View SourceParameters
- size Int32
- Size
- Seed Int32
-
A number used to calculate a starting value for the pseudo-random number
sequence. If a negative number is specified, the absolute value of the number
is used.
Return Value
SymmetricMatrixAn m-by-n matrix with uniformly distributed
random elements in
[0, 1) interval.
See Also