/// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="GaussianFromMeanAndVarianceOp"]/message_doc[@name="SampleAverageConditional(double, double, TruncatedGaussian)"]/*'/>
 public static TruncatedGaussian SampleAverageConditional(double mean, double variance, TruncatedGaussian result)
 {
     return(TruncatedGaussian.FromGaussian(Gaussian.FromMeanAndVariance(mean, variance)));
 }
Beispiel #2
0
 /// <include file='FactorDocs.xml' path='factor_docs/message_op_class[@name="PlusTruncatedGaussianOp"]/message_doc[@name="AAverageConditional(Gaussian, Gaussian)"]/*'/>
 public static TruncatedGaussian AAverageConditional([SkipIfUniform] Gaussian sum, [SkipIfUniform] Gaussian b)
 {
     return(TruncatedGaussian.FromGaussian(DoublePlusOp.AAverageConditional(sum, b)));
 }