Calculates logs of multivariate Gaussian densities with constant mean and constant covariance matrix AND EXCLUDING the constant term of the density (the constant is calculated and added in R code).
Gaussian_densities_const_Cpp(obs, mean, cholcovmat)
a numeric vector containing the multivariate Gaussian densities, excluding the constant term.
a \((T \times dp)\) matrix such that the i:th row contains the vector \((y_{i-1}',...,y_{i-p}')\) \(((dp)x1)\), where \(y_{i}=(y_{1i},...,y_{di})\) \((dx1)\). That is, the initial values are included but the last observations not.
the \(((dp)x1)\) mean vector, rep(all_mu[,m], times=p)
, that is the same for
all observations.
the \((dp \times dp)\) covariance matrix that is the same for all observations.
This function is used in the relative density transition weights with Gaussian regimes.