aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore
Commit message (Collapse)AuthorAge
* Fix more enum arithmetic.Gravatar Rasmus Munk Larsen2021-06-15
|
* Fix c++20 warnings about using enums in arithmetic expressions.Gravatar Rasmus Munk Larsen2021-06-10
|
* Fixed/masked more implicit copy constructor warningsGravatar Christoph Hertzberg2021-02-27
| | | | (cherry picked from commit 2883e91ce5a99c391fbf28e20160176b70854992)
* Fixed sparse conservativeResize() when both num cols and rows decreased.Gravatar Adam Shapiro2021-02-23
| | | | | The previous implementation caused a buffer overflow trying to calculate non- zero counts for columns that no longer exist.
* Fix a typo in SparseMatrix documentation.Gravatar David Tellenbach2020-12-09
| | | | This fixes issue #2091.
* Fix sparse_extra_3, disable counting temporaries for testing ↵Gravatar Antonio Sanchez2020-11-18
| | | | | | | | | | | | | | | | | | | | | | | DynamicSparseMatrix. Multiplication of column-major `DynamicSparseMatrix`es involves three temporaries: - two for transposing twice to sort the coefficients (`ConservativeSparseSparseProduct.h`, L160-161) - one for a final copy assignment (`SparseAssign.h`, L108) The latter is avoided in an optimization for `SparseMatrix`. Since `DynamicSparseMatrix` is deprecated in favor of `SparseMatrix`, it's not worth the effort to optimize further, so I simply disabled counting temporaries via a macro. Note that due to the inclusion of `sparse_product.cpp`, the `sparse_extra` tests actually re-run all the original `sparse_product` tests as well. We may want to simply drop the `DynamicSparseMatrix` tests altogether, which would eliminate the test duplication. Related to #2048
* fix #1901: warning in Mode==(Upper|Lower)Gravatar Gael Guennebaud2020-09-02
|
* Fix #1974: assertion when reserving an empty sparse matrixGravatar Gael Guennebaud2020-08-26
|
* Avoid division by zero in nonZerosEstimate() for empty blocks.Gravatar Rasmus Munk Larsen2020-07-22
|
* Save one extra temporary when assigning a sparse product to a row-major ↵Gravatar Gael Guennebaud2020-05-30
| | | | sparse matrix
* Fix some maybe-unitialized warningsGravatar Christoph Hertzberg2019-12-18
|
* Bug 1786: fix compilation with MSVCGravatar Gael Guennebaud2019-12-11
|
* Fix shadow warnings in AlignedBox and SparseBlockGravatar Eugene Zhulenev2019-11-27
|
* SparseRef: Fixed alignment warning on ARM GCCGravatar Joel Holdsworth2019-11-07
|
* Rollback or PR-746 and partial rollback of ↵Gravatar Rasmus Munk Larsen2019-11-05
| | | | | | | | https://bitbucket.org/eigen/eigen/commits/668ab3fc474e54c7919eda4fbaf11f3a99246494 . std::array is still not supported in CUDA device code on Windows.
* Remove internal::smart_copy and replace with std::copyGravatar Eugene Zhulenev2019-10-29
|
* Explicitly bypass resize and memmoves when there is already the exact right ↵Gravatar Gael Guennebaud2019-10-08
| | | | number of elements available.
* Fix some implicit literal to Scalar conversions in SparseCoreGravatar Gael Guennebaud2019-09-11
|
* Change typedefs from private to protected to fix MSVC compilationGravatar Eugene Zhulenev2019-09-03
|
* Fix compilation with c++03 (local class cannot be template arguments), and ↵Gravatar Gael Guennebaud2019-01-29
| | | | make SparseMatrix::assignDiagonal truly protected.
* bug #1574: implement "sparse_matrix =,+=,-= diagonal_matrix" with smart ↵Gravatar Gael Guennebaud2019-01-28
| | | | insertion strategies of missing diagonal coeffs.
* Move evaluator<SparseCompressedBase>::find(i,j) to a more general and ↵Gravatar Gael Guennebaud2019-01-28
| | | | reusable SparseCompressedBase::lower_bound(i,j) functiion
* Explicitly convert 0 to Scalar for custom typesGravatar Christoph Hertzberg2018-10-12
|
* bug #632: add specializations for res ?= dense +/- sparse and res ?= sparse ↵Gravatar Gael Guennebaud2018-10-10
| | | | | | +/- dense. They are rewritten as two compound assignment to by-pass hybrid dense-sparse iterator.
* Fix shadowingGravatar Gael Guennebaud2018-09-20
|
* bug #1531: expose NumDimensions for solve and sparse expressions.Gravatar Gael Guennebaud2018-06-08
|
* Add multi-threading for sparse-row-major * dense-row-majorGravatar Gael Guennebaud2018-04-25
|
* workaround MSVC 2013 compilation issue (ambiguous call)Gravatar Gael Guennebaud2018-04-23
|
* Make innerVector() and innerVectors() methods available to all expressions ↵Gravatar Gael Guennebaud2018-04-04
| | | | | | supported by Block. Before, only SparseBase exposed such methods.
* MIsc. source and comment typosGravatar luz.paz2018-03-11
| | | | Found using `codespell` and `grep` from downstream FreeCAD
* bug #1468 (1/2) : add missing std:: to memcpyGravatar Gael Guennebaud2017-09-22
|
* Fix mixing types in sparse matrix products.Gravatar Gael Guennebaud2017-09-02
|
* Do not preallocate more space than the matrix size (when the sparse matrix ↵Gravatar Gael Guennebaud2017-07-20
| | | | boils down to a vector
* Fix dense * sparse-selfadjoint-view product.Gravatar Gael Guennebaud2017-04-25
|
* Fix prunning in (sparse*sparse).pruned() when the result is nearly dense.Gravatar Gael Guennebaud2017-02-10
|
* bug #1384: fix evaluation of "sparse/scalar" that used the wrong evaluation ↵Gravatar Gael Guennebaud2017-01-30
| | | | path.
* bug #1381: fix sparse.diagonal() used as a rvalue.Gravatar Gael Guennebaud2017-01-25
| | | | | | | | The problem was that is "sparse" is not const, then sparse.diagonal() must have the LValueBit flag meaning that sparse.diagonal().coeff(i) must returns a const reference, const Scalar&. However, sparse::coeff() cannot returns a reference for a non-existing zero coefficient. The trick is to return a reference to a local member of evaluator<SparseMatrix>.
* bug #1376: add missing assertion on size mismatch with compound assignment ↵Gravatar Gael Guennebaud2017-01-23
| | | | operators (e.g., mat += mat.col(j))
* Add std:: namespace prefix to all (hopefully) instances if size_t/ptrdfiff_tGravatar Gael Guennebaud2017-01-23
|
* bug #1379: fix compilation in sparse*diagonal*dense with openmpGravatar Gael Guennebaud2017-01-21
|
* Add missing doc of SparseViewGravatar Gael Guennebaud2017-01-06
|
* Fix and workaround several doxygen issues/warningsGravatar Gael Guennebaud2017-01-04
|
* Add doc for sparse triangular solve functionsGravatar Gael Guennebaud2017-01-04
|
* bug #1370: add doc for StorageIndexGravatar Gael Guennebaud2017-01-03
|
* bug #1370: rename _Index to _StorageIndex in SparseMatrix, and add a warning ↵Gravatar Gael Guennebaud2017-01-03
| | | | in the doc regarding the 3.2 to 3.3 change of SparseMatrix::Index
* Added += and + operators to inner iteratorsGravatar Valentin Roussellet2016-12-28
| | | | | Fix #1340 #1340
* Cleanup because trait<CwiseBinaryOp>::Flags now expose the correct storage orderGravatar Gael Guennebaud2016-12-27
|
* Add missing .outer() member to iterators of evaluators of cwise sparse ↵Gravatar Gael Guennebaud2016-12-27
| | | | binary expression
* Fix check of storage order mismatch for "sparse cwiseop sparse".Gravatar Gael Guennebaud2016-12-27
|
* Remove superfluous const's (can cause warnings on some Intel compilers)Gravatar Angelos Mantzaflaris2016-12-07
| | | | | (grafted from e236d3443c79f38aa721d95e64c275abbb5df10f )