Click or drag to resize

MatrixRandom Method (Int32, CUDistribution)

Creates square 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 order,
	CUDistribution distribution
)

Parameters

order
Type: SystemInt32
The order of square matrix.
distribution
Type: FinMath.Statistics.DistributionsCUDistribution
Continuous univariate distribution.

Return Value

Type: Matrix
The created matrix.
See Also