| Commit message (Collapse) | Author | Age |
|
|
|
| |
* make NumTraits inherits std::numeric_limits
|
|
|
|
|
|
| |
related to nested products.
Fixed a few typos and a few warnings.
|
|\ |
|
| |
| |
| |
| | |
Silenced (amongst others) many conversion related warnings.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* extend Cwise for multiple storage base class
* a lot of cleaning in the Sparse module
|
|/
|
|
| |
All tests work fine.
|
|
|
|
| |
it never made very precise sense. but now does it still make any?
|
|
|
|
| |
* fix the row()/col() functions of some InnerVector
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
deprecated). Basically there are now only 2 functions to set a
coefficient:
1) mat.coeffRef(row,col) = value;
2) mat.insert(row,col) = value;
coeffRef has no limitation, insert assumes the coeff has not already
been set, and raises an assert otherwise.
In addition I added a much lower level, but more efficient filling
mechanism for
internal use only.
|
| |
|
|
|
|
|
| |
- split sparse_basic unit test
- various fixes in sparse module
|
| |
|
|
|
|
|
|
| |
Question 1: why are *=scalar and /=scalar working right away ?
Same weirdness in DynamicSparseMatrix where operators += and -= work wihout
having to redefine them ???
|
|
|
|
|
| |
* add row(i), col(i) functions
* add prune() function to remove small coefficients
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* add a MappedSparseMatrix class (like Eigen::Map but for sparse
matrices)
* rename SparseArray to CompressedStorage
|
|
|
|
|
| |
* improved performance of mat*=scalar
* bug fix in cwise*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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 ?
|
|
|