|
MatrixRandomT Method (Int32, IRandomNumberGeneratorT, Boolean, T)
|
Creates a square matrix matrix with random data.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static T[,] Random<T>(
int size,
IRandomNumberGenerator<T> generator,
bool symmetric = false,
T[,] result = null
)
Public Shared Function Random(Of T) (
size As Integer,
generator As IRandomNumberGenerator(Of T),
Optional symmetric As Boolean = false,
Optional result As T(,) = Nothing
) As T(,)
Request Example
View SourceParameters
- size
- Type: SystemInt32
- generator
- Type: Accord.Math.RandomIRandomNumberGeneratorT
- symmetric (Optional)
- Type: SystemBoolean
- result (Optional)
- Type: T
Type Parameters
- T
Return Value
Type:
TSee Also