 | QuasiRandomNumberGeneratorNext(IRandomNumberDistributionDouble, Int32) Method |
Creates a double precision matrix filled with quasirandom points which follow the given
probability distribution. The columns of the matrix are the points, and
hence the matrix will contain Dimension rows and numSamples
columns.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DoubleMatrix Next(
IRandomNumberDistribution<double> distribution,
int numSamples
)
Public Function Next (
distribution As IRandomNumberDistribution(Of Double),
numSamples As Integer
) As DoubleMatrix
public:
DoubleMatrix^ Next(
IRandomNumberDistribution<double>^ distribution,
int numSamples
)
member Next :
distribution : IRandomNumberDistribution<float> *
numSamples : int -> DoubleMatrix
Parameters
- distribution IRandomNumberDistributionDouble
- The desired distribution for the quasirandom
points.
- numSamples Int32
- The desired number of points.
Return Value
DoubleMatrixA
Dimension x numSamples matrix whose colums are
quasirandom points following the given distribution.
See Also