TruncatedGaussian StructureInfer.NET Documentation
Microsoft Research, Cambridge
A distribution over real numbers between an upper and lower bound. If both bounds are infinite, it reduces to an ordinary Gaussian distribution.

Namespace: MicrosoftResearch.Infer.Distributions
Assembly: Infer.Runtime (in Infer.Runtime.dll) Version: 2.5.30417.0 (2.5.30417.0)
Syntax

[SerializableAttribute]
[Quality(QualityBand.Preview)]
public struct TruncatedGaussian : IDistribution<double>, 
	ICloneable, HasPoint<double>, CanGetLogProb<double>, SettableTo<TruncatedGaussian>, 
	Diffable, SettableToProduct<TruncatedGaussian>, SettableToProduct<TruncatedGaussian, TruncatedGaussian>, 
	SettableToUniform, SettableToRatio<TruncatedGaussian>, SettableToRatio<TruncatedGaussian, TruncatedGaussian>, 
	SettableToPower<TruncatedGaussian>, Sampleable<double>, SettableToWeightedSum<TruncatedGaussian>, 
	CanGetMean<double>, CanGetVariance<double>, CanGetMeanAndVarianceOut<double, double>, 
	CanGetLogNormalizer, CanGetLogAverageOf<TruncatedGaussian>, CanGetLogAverageOfPower<TruncatedGaussian>, 
	CanGetAverageLog<TruncatedGaussian>
Remarks

The distribution is parameterized by a Gaussian and two real numbers (LowerBound, UpperBound). Between the bounds, the density is proportional to the Gaussian. Outside of the bounds, the density is zero.
See Also