class PoissonGenerator extends RandomDataGenerator[Double]
Generates i.i.d. samples from the Poisson distribution with the given mean.
- Annotations
- @Since("1.1.0")
- Source
- RandomDataGenerator.scala
- Alphabetic
- By Inheritance
- PoissonGenerator
- RandomDataGenerator
- Serializable
- Pseudorandom
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PoissonGenerator(mean: Double)
- mean
mean for the Poisson distribution.
- Annotations
- @Since("1.1.0")
Value Members
- def copy(): PoissonGenerator
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the class when applicable for non-locking concurrent usage.
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the class when applicable for non-locking concurrent usage.
- Definition Classes
- PoissonGenerator → RandomDataGenerator
- Annotations
- @Since("1.1.0")
- val mean: Double
- Annotations
- @Since("1.1.0")
- def nextValue(): Double
Returns an i.i.d.
Returns an i.i.d. sample as a generic type from an underlying distribution.
- Definition Classes
- PoissonGenerator → RandomDataGenerator
- Annotations
- @Since("1.1.0")
- def setSeed(seed: Long): Unit
Set random seed.
Set random seed.
- Definition Classes
- PoissonGenerator → Pseudorandom
- Annotations
- @Since("1.1.0")