The OpenD Programming Language

MultivariateNormalVariable.this

Constructor computes the Cholesky decomposition of sigma in place without memory allocation. Furthermore it is assumed to be a symmetric matrix, but only the lower/left half is actually accessed.

  1. this(Slice!(const(T)*) mu, Slice!(T*, 2) sigma, bool chol)
  2. this(Slice!(T*, 2) sigma, bool chol)
    struct MultivariateNormalVariable(T)
    this
    ()
    (
    Slice!(T*, 2) sigma
    ,
    bool chol = false
    )

Parameters

sigma Slice!(T*, 2)

covariance matrix

chol bool

optional flag indicating that sigma is already Cholesky decomposed

Constraints: sigma has to be positive-definite

Meta