| ProbabilityDistributionSample Method (Int32, Double, Int32) |
Draws a sample from this instance having the specified size
and returns it
in a destination array.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public void Sample(
int sampleSize,
double[] destinationArray,
int destinationIndex
)
Public Sub Sample (
sampleSize As Integer,
destinationArray As Double(),
destinationIndex As Integer
)
public:
void Sample(
int sampleSize,
array<double>^ destinationArray,
int destinationIndex
)
member Sample :
sampleSize : int *
destinationArray : float[] *
destinationIndex : int -> unit
Parameters
- sampleSize
- Type: SystemInt32
The sample size. - destinationArray
- Type: SystemDouble
The destination array that
receives the sampled data. - destinationIndex
- Type: SystemInt32
The index in
destinationArray at which storing
begins.
Exceptions See Also