Exemplo n.º 1
0
 /// <summary>
 /// True if the distribution is uniform
 /// </summary>
 /// <returns></returns>
 public bool IsUniform()
 {
     return(Gaussian.IsUniform());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Asks whether this instance is uniform. If the upper and lower bounds are finite the distribution
 /// is not uniform.
 /// </summary>
 /// <returns>True if uniform, false otherwise</returns>
 public bool IsUniform()
 {
     return(Gaussian.IsUniform() && double.IsNegativeInfinity(LowerBound) && double.IsPositiveInfinity(UpperBound));
 }