aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore/SparseMatrix.h
Commit message (Collapse)AuthorAge
* 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 #1974: assertion when reserving an empty sparse matrixGravatar Gael Guennebaud2020-08-26
|
* Save one extra temporary when assigning a sparse product to a row-major ↵Gravatar Gael Guennebaud2020-05-30
| | | | sparse matrix
* 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
|
* Fix some implicit literal to Scalar conversions in SparseCoreGravatar Gael Guennebaud2019-09-11
|
* 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.
* Explicitly convert 0 to Scalar for custom typesGravatar Christoph Hertzberg2018-10-12
|
* Fix shadowingGravatar Gael Guennebaud2018-09-20
|
* MIsc. source and comment typosGravatar luz.paz2018-03-11
| | | | Found using `codespell` and `grep` from downstream FreeCAD
* Add std:: namespace prefix to all (hopefully) instances if size_t/ptrdfiff_tGravatar Gael Guennebaud2017-01-23
|
* 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
* Fix misleading-indentation warnings.Gravatar Gael Guennebaud2016-12-01
|
* Add missing friend declarationGravatar Gael Guennebaud2016-11-06
|
* Doc: split customizing-eigen page into sub-pages and re-structure a bit the ↵Gravatar Gael Guennebaud2016-08-30
| | | | different topics
* Relax mixing-type constraints for binary coefficient-wise operators:Gravatar Gael Guennebaud2016-06-06
| | | | | | | | | | - Replace internal::scalar_product_traits<A,B> by Eigen::ScalarBinaryOpTraits<A,B,OP> - Remove the "functor_is_product_like" helper (was pretty ugly) - Currently, OP is not used, but it is available to the user for fine grained tuning - Currently, only the following operators have been generalized: *,/,+,-,=,*=,/=,+=,-= - TODO: generalize all other binray operators (comparisons,pow,etc.) - TODO: handle "scalar op array" operators (currently only * is handled) - TODO: move the handling of the "void" scalar type to ScalarBinaryOpTraits
* Fix/handle some int-to-long conversions.Gravatar Gael Guennebaud2016-05-26
|
* bug #1172: make valuePtr and innderIndexPtr properly return null for empty ↵Gravatar Gael Guennebaud2016-02-27
| | | | matrices.
* Improve documentation.Gravatar Gael Guennebaud2016-01-25
|
* bug #1105: fix default preallocation when moving from compressed to ↵Gravatar Gael Guennebaud2015-11-06
| | | | uncompressed mode
* bug #1088: fix setIdenity for non-compressed sparse-matrixGravatar Gael Guennebaud2015-10-25
|
* Fix SparseMatrix::insert/coeffRef for non-empty compressed matrixGravatar Gael Guennebaud2015-10-25
|
* Fix perm*sparse return type and nesting, and add several sanity checks for ↵Gravatar Gael Guennebaud2015-10-14
| | | | perm*sparse
* Update custom setFromTripplets API to allow passing a functor object, and ↵Gravatar Gael Guennebaud2015-10-13
| | | | add a collapseDuplicates method to cleanup the API. Also add respective unit test
* Add a functor to setFromTriplets to handle duplicated entriesGravatar Calixte Denizet2015-10-06
|
* remove reference to internal methodGravatar Gael Guennebaud2015-10-13
|
* extend unit test for SparseMatrix::pruneGravatar Gael Guennebaud2015-10-13
|
* Cleanup EIGEN_SPARSE_PUBLIC_INTERFACE, it is now a simple alias to ↵Gravatar Gael Guennebaud2015-10-08
| | | | EIGEN_GENERIC_PUBLIC_INTERFACE
* Improve counting of sparse temporariesGravatar Gael Guennebaud2015-10-06
|
* Add explicit ctor for diagonal to sparse conversionGravatar Gael Guennebaud2015-06-24
|
* Inherit operator+= and -= with 'using' kkeywordGravatar Gael Guennebaud2015-06-24
|
* Get rid of class internal::nested<> (still have to updated Tensor module)Gravatar Gael Guennebaud2015-06-19
|
* bug #910: add a StandardCompressedFormat option to Ref<SparseMatrix> to ↵Gravatar Gael Guennebaud2015-06-09
| | | | | | enforce standard compressed storage format. If the input is not compressed, then this trigger a copy for a const Ref, and a runtime assert for non-const Ref.
* Fix shadow warnings triggered by clangGravatar Gael Guennebaud2015-06-09
|
* bug #998: Started fixing doxygen warningsGravatar Christoph Hertzberg2015-05-01
|
* bug #360: add value_type typedef to DenseBase/SparseMatrixBaseGravatar Gael Guennebaud2015-04-24
|
* bug #875: remove broken SparseMatrixBase::nonZeros and introduce a ↵Gravatar Gael Guennebaud2015-04-01
| | | | | | nonZerosEstimate() method to sparse evaluators for internal uses. Factorize some code in SparseCompressedBase.
* SparseMatrix::insert: switch to a fully uncompressed mode if sequential ↵Gravatar Gael Guennebaud2015-03-13
| | | | insertion is not possible (otherwise an arbitrary large amount of memory was preallocated in some cases)
* Improve efficiency of SparseMatrix::insert/coeffRef for sequential ↵Gravatar Gael Guennebaud2015-03-04
| | | | outer-index insertion strategies (bug #974)
* Add an internal assertion in makeCompressed to catch a possible risk of ↵Gravatar Gael Guennebaud2015-02-18
| | | | null-pointer access.
* Doc: explain how to free allocated memory in SparseMAtrixGravatar Gael Guennebaud2015-02-16
|
* Fix many long to int conversion warnings:Gravatar Gael Guennebaud2015-02-16
| | | | | | - fix usage of Index (API) versus StorageIndex (when multiple indexes are stored) - use StorageIndex(val) when the input has already been check - use internal::convert_index<StorageIndex>(val) when val is potentially unsafe (directly comes from user input)
* Index refactoring: StorageIndex must be used for storage only (and locally ↵Gravatar Gael Guennebaud2015-02-13
| | | | when it make sense). In all other cases use the global Index type.
* Merge Index-refactoring branch with default, fix PastixSupport, remove some ↵Gravatar Gael Guennebaud2015-02-13
|\ | | | | | | useless typedefs
| * Add a SparseCompressedBase class providing (un)compressed accessors (like ↵Gravatar Gael Guennebaud2015-02-07
| | | | | | | | | | | | data()/*Stride() for dense matrices), and a CompressedAccessBit flag (similar to DirectAccessBit for dense matrices).
* | bug #877, bug #572: Introduce a global Index typedef. Rename Sparse*::Index ↵Gravatar Christoph Hertzberg2014-12-04
| | | | | | | | to StorageIndex, make Dense*::StorageIndex an alias to DenseIndex. Overall this commit gets rid of all Index conversion warnings.
| * Workaround various "returning reference to temporary" warnings.Gravatar Gael Guennebaud2014-12-05
|/
* Document non-const SparseMatrix::diagonal() method.Gravatar Gael Guennebaud2014-12-01
|