Click or drag to resize
Accord.NET (logo)

MatrixRandom Method (Int32, Int16, Int16, Boolean, Int16)

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 short[,] Random(
	int size,
	short min,
	short max,
	bool symmetric = false,
	short[,] result = null
)
Request Example View Source

Parameters

size
Type: SystemInt32
min
Type: SystemInt16
max
Type: SystemInt16
symmetric (Optional)
Type: SystemBoolean
result (Optional)
Type: SystemInt16

Return Value

Type: Int16
See Also