Uniform

ai.dragonfly.math.stats.probability.distributions.Uniform
See theUniform companion object
case class Uniform(interval: Interval[Double]) extends ParametricProbabilityDistribution[Double]

Attributes

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

Members list

Value members

Concrete methods

override def p(x: Double): 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
Uniform.scala
override def random(r: Random): Double

Attributes

Definition Classes
Source
Uniform.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
Uniform.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
Uniform.scala
lazy override val σ: Double

Attributes

Source
Uniform.scala
lazy override val σ²: Double

Attributes

Source
Uniform.scala

Inherited fields

val `#`: Numeric[Double]

Attributes

Inherited from:
ProbabilityDistribution
Source
ProbabilityDistribution.scala