NormalGammaSample(Random, Double, Double, Double, Double) Method |
Generates a sample from the NormalGamma distribution.
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static MeanPrecisionPair Sample(
Random rnd,
double meanLocation,
double meanScale,
double precisionShape,
double precisionInverseScale
)
Parameters
- rnd Random
- The random number generator to use.
- meanLocation Double
- The location of the mean.
- meanScale Double
- The scale of the mean.
- precisionShape Double
- The shape of the precision.
- precisionInverseScale Double
- The inverse scale of the precision.
Return Value
MeanPrecisionPaira sample from the distribution.
See Also