Click or drag to resize
Accord.NET (logo)

MatrixRandom Method (Int32, UInt16, UInt16, Boolean, UInt16)

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

Parameters

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

Return Value

Type: UInt16
See Also