Skip to content

uniformCDF

Fabian Kindermann edited this page Apr 2, 2021 · 10 revisions
function uniformCDF(x, a, b)

Description:

Calculates the cumulative distribution function

of the uniform distribution on the interval at point .

Input arguments:

  • real*8 :: x
    The point where to evaluate the cumulative distribution function of the uniform distribution.

Optional arguments:

  • real*8 :: a
    The left endpoint of the interval on which the distribution exists. If not present, the function uses a = 0.
  • real*8 :: b
    The right endpoint of the interval on which the distribution exists. If not present, the function uses b = 1. Note that needs to hold, otherwise the function throws an error message.

Return Value:

  • real*8 :: uniformCDF
    The value of the cumulative distribution functions at x.

References

  • For further reading refer to:
    • Toral, R. & Colet, P. (2014). Stochastic Numerical Methods: An Introduction for Students and Scientists. Weinheim: Wiley.
  • This routine is used in the following programs:
    • prog02_15.f90
Clone this wiki locally