Uniform

slash.stats.probability.distributions.Uniform
See theUniform companion object

Attributes

Companion
object
Source
Uniform.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
inline def sample(n: Int, r: Random): NArray[Double]

Attributes

Inherited from:
Sampleable
Source
Sampleable.scala

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