class UniformGenerator extends RandomDataGenerator[Double]
Generates i.i.d. samples from U[0.0, 1.0]
- Annotations
- @Since( "1.1.0" )
- Source
- RandomDataGenerator.scala
- Alphabetic
- By Inheritance
- UniformGenerator
- RandomDataGenerator
- Serializable
- Serializable
- Pseudorandom
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new UniformGenerator()
Value Members
-
def
copy(): UniformGenerator
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
- UniformGenerator → RandomDataGenerator
- 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
- UniformGenerator → RandomDataGenerator
- Annotations
- @Since( "1.1.0" )
-
def
setSeed(seed: Long): Unit
Set random seed.
Set random seed.
- Definition Classes
- UniformGenerator → Pseudorandom
- Annotations
- @Since( "1.1.0" )