|
MatrixRandom Method (Int32, Single, Single, Boolean, Single)
|
Creates a matrix with uniformly distributed random data.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static float[,] Random(
int size,
float min,
float max,
bool symmetric = false,
float[,] result = null
)
Public Shared Function Random (
size As Integer,
min As Single,
max As Single,
Optional symmetric As Boolean = false,
Optional result As Single(,) = Nothing
) As Single(,)
Request Example
View SourceParameters
- size
- Type: SystemInt32
- min
- Type: SystemSingle
- max
- Type: SystemSingle
- symmetric (Optional)
- Type: SystemBoolean
- result (Optional)
- Type: SystemSingle
Return Value
Type:
SingleSee Also