Click or drag to resize
Accord.NET (logo)

MatrixRandom Method (Int32, Int32, Decimal, Decimal, Decimal)

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 decimal[,] Random(
	int rows,
	int columns,
	decimal min,
	decimal max,
	decimal[,] result = null
)
Request Example View Source

Parameters

rows
Type: SystemInt32
columns
Type: SystemInt32
min
Type: SystemDecimal
max
Type: SystemDecimal
result (Optional)
Type: SystemDecimal

Return Value

Type: Decimal
See Also