Recent Releases of SparseChol
SparseChol - v0.3.1
- Added the AMD algorithm to generate an efficient permutation vector to permute matrices prior to factorisation. The functions
amd_permute()in thesparseclass will generate the ordering andpermute()andpermute_inv()will return the ordering and its inverse respectively. TheSparseCholclass will use the ordering if it exists in the associatedsparseclass. For R a functionamd_order()has been added to generate the order for a given matrix.
- C++
Published by samuel-watson over 2 years ago
SparseChol - v0.2.2
- Added support for Eigen matrices. Sparse class can be initialised using an Eigen matrix, and the function
sparse_to_dense()will convert to an Eigen matrix.dense_to_sparse()will convert an Eigen matrix to sparse matrix. - Added more operators (where
dblvec=std::vector<double>:%= dblvecright multiplication by a diagonal matrix represented as a vectorsparse * sparsemutiplicationsparse * dblvecfor sparse matrix times a vectorsparse % dblvecfor sparse multiplication with a diagonal matrix represented as a vectorsparse + sparsesparse * Eigen::DenseEigen::Dense * sparsesparse * VectorXdsparse % VectorXdwhere the vector represents a diagonal matrix
- Added function
identityto return asparseidentity matrix - Added both row and column major representations to
sparseclass - Added member function
inserttosparseclass to insert an element at the given position
- C++
Published by samuel-watson over 2 years ago