| ProbabilityDistributionSample Method (Int32) |
Draws a sample from this instance having the specified size
and returns it as a matrix.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public DoubleMatrix Sample(
int sampleSize
)
Public Function Sample (
sampleSize As Integer
) As DoubleMatrix
public:
DoubleMatrix^ Sample(
int sampleSize
)
member Sample :
sampleSize : int -> DoubleMatrix
Parameters
- sampleSize
- Type: SystemInt32
The sample size.
Return Value
Type:
DoubleMatrixThe matrix whose entries store the sample.
Exceptions Remarks
The returned matrix has one column and a number of rows
equal to sampleSize.
See Also