NormalGammaSamples(Random, Double, Double, Double, Double) Method |
Generates a sequence of samples from the NormalGamma distribution
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IEnumerable<MeanPrecisionPair> Samples(
Random rnd,
double meanLocation,
double meanScale,
double precisionShape,
double precisionInvScale
)
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.
- precisionInvScale Double
- The inverse scale of the precision.
Return Value
IEnumerableMeanPrecisionPaira sequence of samples from the distribution.
See Also