Method: Distribution::Uniform::GSL_.cdf

Defined in:
lib/distribution/uniform/gsl.rb

.cdf(x, lower = 0, upper = 1) ⇒ Object

:nodoc:



21
22
23
24
# File 'lib/distribution/uniform/gsl.rb', line 21

def cdf(x, lower = 0, upper = 1)
  # rb-gsl/blob/master/ext/gsl_native/cdf.c#L644
  GSL::Cdf.flat_P(x, lower, upper)
end