Module: Distribution::LogNormal::Ruby_
- Defined in:
- lib/distribution/lognormal/ruby.rb
Class Method Summary collapse
Class Method Details
.cdf(x, u, s) ⇒ Object
10 11 12 |
# File 'lib/distribution/lognormal/ruby.rb', line 10 def cdf(x, u, s) Distribution::Normal.cdf((Math.log(x) - u) / s) end |