com.phasmidsoftware.lascala.random
Members list
Type members
Classlikes
A concrete implementation of RandomState based on the Java random number generator
A concrete implementation of RandomState based on the Java random number generator
Type parameters
- T
-
the underlying type of this random state, i.e. the type of the result of calling get
Value parameters
- g
-
the function which maps a Long value into a T
- n
-
the random Long that characterizes this random state
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait RandomState[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RandomState.type
Monadic trait which defines a random-state.
Monadic trait which defines a random-state.
Created by scalaprof on 9/24/16.
Type parameters
- T
-
the underlying type of this random state, i.e. the type of the result of calling get
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class JavaRandomState[T]
This is essentially a wrapper of Double where (implicitly) 0 <= x <= 1. Note that we would like to specify it as a Value type but require statements are not legal in Value types
This is essentially a wrapper of Double where (implicitly) 0 <= x <= 1. Note that we would like to specify it as a Value type but require statements are not legal in Value types
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type