/// <summary> /// Returns the cumulative distribution function. </summary> /// <param name="x"> x </param> /// <returns> result </returns> public virtual double cdf(double x) { return(Probability.normal(mean, variance, x)); }
/// <summary> /// Returns the cumulative distribution function. </summary> /// <param name="x"> x </param> /// <returns> result </returns> public virtual double cdf(double x) { return(Probability.chiSquare(freedom, x)); }