Releases: samuel-watson/SparseChol
Releases · samuel-watson/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 thesparse
class will generate the ordering andpermute()
andpermute_inv()
will return the ordering and its inverse respectively. TheSparseChol
class will use the ordering if it exists in the associatedsparse
class. For R a functionamd_order()
has been added to generate the order for a given matrix.
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>
:%= dblvec
right multiplication by a diagonal matrix represented as a vectorsparse * sparse
mutiplicationsparse * dblvec
for sparse matrix times a vectorsparse % dblvec
for sparse multiplication with a diagonal matrix represented as a vectorsparse + sparse
sparse * Eigen::Dense
Eigen::Dense * sparse
sparse * VectorXd
sparse % VectorXd
where the vector represents a diagonal matrix
- Added function
identity
to return asparse
identity matrix - Added both row and column major representations to
sparse
class - Added member function
insert
tosparse
class to insert an element at the given position
v0.1.1
First release