Sha256: 8ac83ed654e43efcc0d6ef654b84c7e31a2c9965afc1713d4c4ac78736a8793a
Contents?: true
Size: 415 Bytes
Versions: 3
Compression:
Stored size: 415 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 p_value(y, k, lam) GSL::Cdf.weibull_Pinv(y, lam, k) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
distribution-0.7.3 | lib/distribution/weibull/gsl.rb |
distribution-0.7.2 | lib/distribution/weibull/gsl.rb |
distribution-0.7.1 | lib/distribution/weibull/gsl.rb |