ContinuousDistr
Represents a continuous Distribution.
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
Returns the unnormalized value of the measure
Returns the unnormalized value of the measure
Attributes
Returns the log unnormalized value of the measure
Returns the probability density function at that point.
Returns the probability density function at that point.
Attributes
Returns the probability density function up to a constant at that point.
Returns the probability density function up to a constant at that point.
Attributes
Inherited methods
Overridden by filter/map/flatmap for monadic invocations. Basically, rejection samplers will return None here
Overridden by filter/map/flatmap for monadic invocations. Basically, rejection samplers will return None here
Attributes
- Inherited from:
- Rand
Converts a random sampler of one type to a random sampler of another type. Examples: uniform.map(_2) gives a Rand[Double] in the range [0,2] Equivalently, for(x <- uniform) yield 2x
Converts a random sampler of one type to a random sampler of another type. Examples: uniform.map(_2) gives a Rand[Double] in the range [0,2] Equivalently, for(x <- uniform) yield 2x
Value parameters
- f
-
the transform to apply to the sampled value.
Attributes
- Inherited from:
- Rand
Gets n samples from the distribution.
Gets one sample from the distribution. Equivalent to get
Gets n samples from the distribution into a specified collection type.
Gets n samples from the distribution into a specified collection type.
Attributes
- Inherited from:
- Rand
An infinitely long iterator that samples repeatedly from the Rand
An infinitely long iterator that samples repeatedly from the Rand
Attributes
- Returns
-
an iterator that repeatedly samples
- Inherited from:
- Rand
Attributes
- Inherited from:
- Rand