Click or drag to resize
Accord.NET (logo)

MatrixRandom Method (Int32, Int32, IRandomNumberGenerator)

Note: This API is now obsolete.

Creates a rows-by-cols matrix random data drawn from a given distribution.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
[ObsoleteAttribute("Please use INumberGenerator<T> instead.")]
public static double[,] Random(
	int rows,
	int cols,
	IRandomNumberGenerator generator
)
Request Example View Source

Parameters

rows
Type: SystemInt32
cols
Type: SystemInt32
generator
Type: Accord.Math.RandomIRandomNumberGenerator

Return Value

Type: Double
See Also