Click or drag to resize

MatrixRandom Method (Int32, Int32, RandomGenerator)

Creates rectangular matrix with elements uniformly distributed in [0; 1].

Namespace:  FinMath.LinearAlgebra
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static Matrix Random(
	int rows,
	int columns,
	RandomGenerator random
)

Parameters

rows
Type: SystemInt32
The number of rows in the matrix.
columns
Type: SystemInt32
The number of columns in the matrix.
random
Type: FinMath.StatisticsRandomGenerator
The random number generator.

Return Value

Type: Matrix
The created matrix.
See Also