Sha256: 6f4dbae07113578989e8bf3d85b2321d50120e4e2a3523cf9416c8f28ebd9fdb
Contents?: true
Size: 308 Bytes
Versions: 7
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
7 entries across 7 versions & 1 rubygems