|
MatrixRandom Method (Int32, Double, Double, Boolean, Double)
|
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 double[,] Random(
int size,
double min,
double max,
bool symmetric = false,
double[,] result = null
)
Public Shared Function Random (
size As Integer,
min As Double,
max As Double,
Optional symmetric As Boolean = false,
Optional result As Double(,) = Nothing
) As Double(,)
Request Example
View SourceParameters
- size
- Type: SystemInt32
- min
- Type: SystemDouble
- max
- Type: SystemDouble
- symmetric (Optional)
- Type: SystemBoolean
- result (Optional)
- Type: SystemDouble
Return Value
Type:
DoubleSee Also