Sha256: b78a258ae68ddbb9541a4243bbc99ada4d7e8864bf4e13e4f1c487f806837d1a
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
module Distribution module Poisson module GSL_ class << self def pdf(k, l) return 0 if k < 0 GSL::Ran.poisson_pdf(k, l.to_f) end def cdf(k, l) return 0 if k < 0 GSL::Cdf.poisson_P(k, l.to_f) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
distribution-0.8.0 | lib/distribution/poisson/gsl.rb |