Trait

io.github.mandar2812.dynaml.probability

ContinuousMixtureRV

Related Doc: package probability

Permalink

trait ContinuousMixtureRV[Domain, BaseRV <: ContinuousRandomVariable[Domain]] extends ContinuousRandomVariable[Domain] with MixtureRV[Domain, BaseRV]

A random variable mixture over a continuous domain

Domain

Domain over which each mixture component is defined

BaseRV

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

Linear Supertypes
MixtureRV[Domain, BaseRV], ContinuousRandomVariable[Domain], RandomVariable[Domain], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContinuousMixtureRV
  2. MixtureRV
  3. ContinuousRandomVariable
  4. RandomVariable
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val components: Seq[BaseRV]

    Permalink
    Definition Classes
    MixtureRV
  2. abstract val mixture_selector: MultinomialRV

    Permalink
    Definition Classes
    MixtureRV
  3. abstract val sample: DataPipe[Unit, Domain]

    Permalink

    Generate a sample from the random variable

    Generate a sample from the random variable

    Definition Classes
    RandomVariable

Concrete 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: 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
  10. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. 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
  12. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def draw: Domain

    Permalink

    Alias for sample.run()

    Alias for sample.run()

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def iid(n: Int): IIDRandomVariable[Domain, RandomVariable[Domain]]

    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
    RandomVariable
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

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

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

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

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