Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogNormalRNG ¶
type LogNormalRNG struct {
// contains filtered or unexported fields
}
LogNormalRNG generates Log Normal random numbers
func NewLogNormalRNG ¶
func NewLogNormalRNG(mean float64, stdev float64) *LogNormalRNG
func (*LogNormalRNG) Rand ¶
func (r *LogNormalRNG) Rand() float64
type PoissonRNG ¶
type PoissonRNG struct {
// contains filtered or unexported fields
}
PoissonRNG generates Poisson distributed numbers using Knuth's algorithm
func NewPoissonRNG ¶
func NewPoissonRNG(lambda float64) *PoissonRNG
func (*PoissonRNG) Rand ¶
func (r *PoissonRNG) Rand() float64
Click to show internal directories.
Click to hide internal directories.