コード例 #1
0
 /// Computes the absolute difference between two Gaussians
 public static double AbsoluteDifference(GaussianDistribution left, GaussianDistribution right)
 {
     return(Math.Max(
                Math.Abs(left.PrecisionMean - right.PrecisionMean),
                Math.Sqrt(Math.Abs(left.Precision - right.Precision))));
 }