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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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")
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val mean: Double
- Annotations
- @Since("1.1.0")
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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")
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def setSeed(seed: Long): Unit
Set random seed.
Set random seed.
- Definition Classes
- PoissonGenerator → Pseudorandom
- Annotations
- @Since("1.1.0")
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)