DiscreteUniform

ai.dragonfly.math.stats.probability.distributions.DiscreteUniform
See theDiscreteUniform companion object
case class DiscreteUniform(interval: Interval[Long]) extends ParametricProbabilityDistribution[Long]

Attributes

Companion
object
Source
DiscreteUniform.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Sampleable[Long]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def p(x: Long): Double

Probability Densidy Function: PDF Computes the probability of drawing sample x from this distribution.

Probability Densidy Function: PDF Computes the probability of drawing sample x from this distribution.

Value parameters

x

a sample

Attributes

Returns

Probability(x)

Definition Classes
Source
DiscreteUniform.scala
override def random(r: Random): Long

Attributes

Definition Classes
Source
DiscreteUniform.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
DiscreteUniform.scala

Inherited methods

def mean: Double
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def variance: Double

Concrete fields

override val μ: Double

Attributes

Source
DiscreteUniform.scala
lazy override val σ: Double

Attributes

Source
DiscreteUniform.scala
lazy override val σ²: Double

Attributes

Source
DiscreteUniform.scala

Inherited fields

val `#`: Numeric[Long]

Attributes

Inherited from:
ProbabilityDistribution
Source
ProbabilityDistribution.scala