Sha256: ec3452a0514825a0902662295a5a8f762ccbcd1c6afae7ee93b24885f92c7b30
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
module Distribution module Weibull module GSL_ class << self def pdf(x, k, lam) GSL::Ran.weibull_pdf(x, lam, k) end def cdf(x, k, lam) GSL::Cdf.weibull_P(x, lam, k) end def quantile(y, k, lam) GSL::Cdf.weibull_Pinv(y, lam, k) end alias_method :p_value, :quantile end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
distribution-0.8.0 | lib/distribution/weibull/gsl.rb |