This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Description
What would you like to submit? (put an 'x' inside the bracket that applies)
Robust Multivariate Normal Sampling with semi-PD cov matrix
generate method in MultivariateNormalDistribution class requires strictly positive definite covariance matrix but in reality, we could facing cases where a semi-PD covariance matrix is present and we still want to do sampling which is 100% valid. Think of a case where you have two columns that are 100% correlated.
Current implementation leverages on Cholesky Decomposition for the following formula:
Cov = L'L
z~N(0, I)
sample = \mu + L'z
Cholesky Decomposition requires strictly PD cov matrix but its variant LDL' decomposition is able to handle semi-PD cov matrix and is considered as a robust alternative.
I can contribute the LDL' decomposition
Note: If you would like to support the development for this feature or resolution of this bug, consider adding a bounty to it later in https://www.bountysource.com/teams/accord-net/issues