aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparse_vector.cpp
Commit message (Collapse)AuthorAge
* sparse module: makes -= and += operator workingGravatar Gael Guennebaud2009-01-23
| | | | | | Question 1: why are *=scalar and /=scalar working right away ? Same weirdness in DynamicSparseMatrix where operators += and -= work wihout having to redefine them ???
* optimize A * v product for A sparse and row majorGravatar Gael Guennebaud2009-01-19
|
* Sparse module:Gravatar Gael Guennebaud2009-01-14
| | | | | * improved performance of mat*=scalar * bug fix in cwise*
* Big rewrite in the Sparse module: SparseMatrixBase no longer inherits ↵Gravatar Gael Guennebaud2009-01-14
| | | | | | | | | | | | | | MatrixBase. That means a lot of features which were available for sparse matrices via the dense (and super slow) implemention are no longer available. All features which make sense for sparse matrices (aka can be implemented efficiently) will be implemented soon, but don't expect to see an API as rich as for the dense path. Other changes: * no block(), row(), col() anymore. * instead use .innerVector() to get a col or row vector of a matrix. * .segment(), start(), end() will be back soon, not sure for block() * faster cwise product
* Sparse module:Gravatar Gael Guennebaud2009-01-07
* extend unit tests * add support for generic sum reduction and dot product * optimize the cwise()* : this is a special case of CwiseBinaryOp where we only have to process the coeffs which are not null for *both* matrices. Perhaps there exist some other binary operations like that ?