Click or drag to resize

CVDistributionSample Method (Int32)

Generates series of random variable samples.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public virtual Matrix Sample(
	int samplesCount
)

Parameters

samplesCount
Type: SystemInt32
Number of samples to generate.

Return Value

Type: Matrix
Matrix contains random number samples. Rows corresponds to the samples, columns corresponds to the distribution's dimensions.
See Also