Class

com.github.jonnylaw.model

MultivariateNormal

Related Doc: package model

Permalink

case class MultivariateNormal(mean: DenseVector[Double], covariance: DenseMatrix[Double])(implicit rand: RandBasis = Rand) extends Rand[DenseVector[Double]] with Product with Serializable

Simulate from a multivariate normal using Eigenvalue decomposition Y = Q * Z + mean, where Q = L^0.5 * M

Linear Supertypes
Serializable, Serializable, Product, Equals, Rand[DenseVector[Double]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultivariateNormal
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Rand
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultivariateNormal(mean: DenseVector[Double], covariance: DenseMatrix[Double])(implicit rand: RandBasis = Rand)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def condition(p: (DenseVector[Double]) ⇒ Boolean): Rand[DenseVector[Double]]

    Permalink
    Definition Classes
    Rand
  7. val covariance: DenseMatrix[Double]

    Permalink
  8. def draw(): DenseVector[Double]

    Permalink
    Definition Classes
    MultivariateNormal → Rand
  9. def drawOpt(): Option[DenseVector[Double]]

    Permalink
    Definition Classes
    Rand
  10. def eigen: DenseEigSym

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def filter(p: (DenseVector[Double]) ⇒ Boolean): Rand[DenseVector[Double]]

    Permalink
    Definition Classes
    Rand
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap[E](f: (DenseVector[Double]) ⇒ Rand[E]): Rand[E]

    Permalink
    Definition Classes
    Rand
  15. def foreach(f: (DenseVector[Double]) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Rand
  16. def get(): DenseVector[Double]

    Permalink
    Definition Classes
    Rand
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def map[E](f: (DenseVector[Double]) ⇒ E): Rand[E]

    Permalink
    Definition Classes
    Rand
  20. val mean: DenseVector[Double]

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def q: DenseMatrix[Double]

    Permalink

    Normalise the matrix of eigenvalues to build the matrix *

  25. def sample(n: Int): IndexedSeq[DenseVector[Double]]

    Permalink
    Definition Classes
    Rand
  26. def sample(): DenseVector[Double]

    Permalink
    Definition Classes
    Rand
  27. def samples: Iterator[DenseVector[Double]]

    Permalink
    Definition Classes
    Rand
  28. def samplesVector[U >: DenseVector[Double]](size: Int)(implicit m: ClassTag[U]): DenseVector[U]

    Permalink
    Definition Classes
    Rand
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withFilter(p: (DenseVector[Double]) ⇒ Boolean): Rand[DenseVector[Double]]

    Permalink
    Definition Classes
    Rand

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Rand[DenseVector[Double]]

Inherited from AnyRef

Inherited from Any

Ungrouped