dense/sparse cholesky