Click or drag to resize

MatrixRandom Method (Int32, Int32, CUDistribution)

Creates rectangular matrix with elements which are samples from the specified distribution.

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

Parameters

rows
Type: SystemInt32
The number of rows in the matrix.
columns
Type: SystemInt32
The number of columns in the matrix.
distribution
Type: FinMath.Statistics.DistributionsCUDistribution
Continuous univariate distribution.

Return Value

Type: Matrix
The created matrix.
See Also