Class/Object

io.github.mandar2812.dynaml.probability

ContinuousDistrMixture

Related Docs: object ContinuousDistrMixture | package probability

Permalink

class ContinuousDistrMixture[Domain, BaseRV <: ContinuousRVWithDistr[Domain, ContinuousDistr[Domain]]] extends ContinuousRandomVariable[Domain] with ContinuousMixtureRV[Domain, BaseRV] with ContinuousDistrRV[Domain]

A random variable mixture over a continuous domain, having a computable probability distribution

Domain

Domain over which each mixture component is defined

BaseRV

The type of each mixture component, must be a sub type of ContinuousRVWithDistr

Linear Supertypes
ContinuousDistrRV[Domain], ContinuousRVWithDistr[Domain, ContinuousDistr[Domain]], RandomVarWithDistr[Domain, ContinuousDistr[Domain]], HasDistribution[Domain], ContinuousMixtureRV[Domain, BaseRV], MixtureRV[Domain, BaseRV], ContinuousRandomVariable[Domain], RandomVariable[Domain], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContinuousDistrMixture
  2. ContinuousDistrRV
  3. ContinuousRVWithDistr
  4. RandomVarWithDistr
  5. HasDistribution
  6. ContinuousMixtureRV
  7. MixtureRV
  8. ContinuousRandomVariable
  9. RandomVariable
  10. Serializable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ContinuousDistrMixture(distributions: Seq[BaseRV], selector: MultinomialRV)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(other: Domain)(implicit ev: Field[Domain]): ContinuousRandomVariable[Domain]

    Permalink

    Return the random variable that results from multiplying a provided quantity in the Domain to the current random variable.

    Return the random variable that results from multiplying a provided quantity in the Domain to the current random variable.

    other

    The value to be multiplied to this random variable.

    ev

    An implicit parameter, which represents a Field defined over the set Domain.

    Definition Classes
    ContinuousRandomVariable
  4. def *(other: ContinuousRandomVariable[Domain])(implicit ev: Field[Domain]): ContinuousRandomVariable[Domain]

    Permalink

    Return the random variable that results from multiplying a provided random variable to the current random variable.

    Return the random variable that results from multiplying a provided random variable to the current random variable.

    other

    The random variable to be multiplied to this.

    ev

    An implicit parameter, which represents a Field defined over the set Domain.

    Definition Classes
    ContinuousRandomVariable
  5. def +(other: Domain)(implicit ev: Field[Domain]): ContinuousRandomVariable[Domain]

    Permalink

    Return the random variable that results from adding a provided quantity in the Domain to the current random variable.

    Return the random variable that results from adding a provided quantity in the Domain to the current random variable.

    other

    The value to be added to this random variable.

    ev

    An implicit parameter, which represents a Field defined over the set Domain.

    Definition Classes
    ContinuousRandomVariable
  6. def +(other: ContinuousRandomVariable[Domain])(implicit ev: Field[Domain]): ContinuousRandomVariable[Domain]

    Permalink

    Return the random variable that results from adding a provided random variable to the current random variable.

    Return the random variable that results from adding a provided random variable to the current random variable.

    other

    The random variable to be added to this.

    Definition Classes
    ContinuousRandomVariable
  7. def -(other: Domain)(implicit ev: Field[Domain]): ContinuousRandomVariable[Domain]

    Permalink

    Return the random variable that results from subtracting a provided quantity in the Domain from the current random variable.

    Return the random variable that results from subtracting a provided quantity in the Domain from the current random variable.

    other

    The value to be subtracted from this random variable.

    ev

    An implicit parameter, which represents a Field defined over the set Domain.

    Definition Classes
    ContinuousRandomVariable
  8. def -(other: ContinuousRandomVariable[Domain])(implicit ev: Field[Domain]): ContinuousRandomVariable[Domain]

    Permalink

    Return the random variable that results from subtracting a provided random variable from the current random variable.

    Return the random variable that results from subtracting a provided random variable from the current random variable.

    other

    The random variable to be subtracted from this.

    ev

    An implicit parameter, which represents a Field defined over the set Domain.

    Definition Classes
    ContinuousRandomVariable
  9. def :*[Domain1](other: ContinuousDistrRV[Domain1])(implicit ev: Field[Domain], ev1: Field[Domain1], eq: Eq[Domain], eq1: Eq[Domain1]): ContinuousDistrRV[(Domain, Domain1)]

    Permalink
    Definition Classes
    ContinuousDistrRV
  10. def :*[OtherDomain, OtherDistr <: ContinuousDistr[OtherDomain]](other: ContinuousRVWithDistr[OtherDomain, OtherDistr]): ContinuousRVWithDistr[(Domain, OtherDomain), ContinuousDistr[(Domain, OtherDomain)]]

    Permalink
    Definition Classes
    ContinuousRVWithDistr
  11. def :*[Domain1, Dist1 <: Density[Domain1] with Rand[Domain1]](other: RandomVarWithDistr[Domain1, Dist1]): RandomVarWithDistr[(Domain, Domain1), GenericDistribution[(Domain, Domain1)]]

    Permalink

    Cartesian product with another random variables which has a defined probability distribution.

    Cartesian product with another random variables which has a defined probability distribution.

    Definition Classes
    RandomVarWithDistr
  12. def :*[Domain1](other: RandomVariable[Domain1]): RandomVariable[(Domain, Domain1)]

    Permalink

    Outputs the cartesian product between two random variables.

    Outputs the cartesian product between two random variables.

    Domain1

    The domain of the other random variable

    other

    The random variable which forms the second component of the cartesian product.

    Definition Classes
    RandomVariable
  13. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def >[OtherDomain](transformation: DataPipe[Domain, OtherDomain]): MeasurableFunction[Domain, OtherDomain, RandomVariable[Domain]]

    Permalink

    Transform the current random variable on Domain to a morphed random variable on OtherDomain

    Transform the current random variable on Domain to a morphed random variable on OtherDomain

    Definition Classes
    RandomVariable
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. val components: Seq[BaseRV]

    Permalink
    Definition Classes
    ContinuousDistrMixtureMixtureRV
  18. def draw: Domain

    Permalink

    Alias for sample.run()

    Alias for sample.run()

    Definition Classes
    RandomVariable
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def iid(n: Int): IIDContinuousRVDistr[Domain, ContinuousDistr[Domain], ContinuousDistrMixture.this.type]

    Permalink

    Create an iid random variable from the current (this)

    Create an iid random variable from the current (this)

    n

    The number of iid samples of the base random variable.

    Definition Classes
    ContinuousRVWithDistrRandomVarWithDistrRandomVariable
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val mixture_selector: MultinomialRV

    Permalink
    Definition Classes
    ContinuousDistrMixtureMixtureRV
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. val sample: DataPipe[Unit, Domain]

    Permalink

    Generate a sample from the random variable

    Generate a sample from the random variable

    Definition Classes
    ContinuousRVWithDistrRandomVariable
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. val underlyingDist: MixtureDistribution[Domain]

    Permalink

    The actual probability density function is represented as a breeze Density object.

    The actual probability density function is represented as a breeze Density object.

    Definition Classes
    ContinuousDistrMixtureContinuousRVWithDistrRandomVarWithDistrHasDistribution
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ContinuousDistrRV[Domain]

Inherited from ContinuousRVWithDistr[Domain, ContinuousDistr[Domain]]

Inherited from RandomVarWithDistr[Domain, ContinuousDistr[Domain]]

Inherited from HasDistribution[Domain]

Inherited from ContinuousMixtureRV[Domain, BaseRV]

Inherited from MixtureRV[Domain, BaseRV]

Inherited from ContinuousRandomVariable[Domain]

Inherited from RandomVariable[Domain]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped