aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Array.h
Commit message (Collapse)AuthorAge
* Revert "Revert "Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), ↵Gravatar Steve Bronder2021-03-24
| | | | | | innerStride(), outerStride(), and size()"" This reverts commit 5f0b4a4010af4cbf6161a0d1a03a747addc44a5d.
* Re-implement move assignments.Gravatar Antonio Sanchez2021-03-10
| | | | | | | | | | | | | | | The original swap approach leads to potential undefined behavior (reading uninitialized memory) and results in unnecessary copying of data for static storage. Here we pass down the move assignment to the underlying storage. Static storage does a one-way copy, dynamic storage does a swap. Modified the tests to no longer read from the moved-from matrix/tensor, since that can lead to UB. Added a test to ensure we do not access uninitialized memory in a move. Fixes: #2119
* Revert "Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), ↵Gravatar David Tellenbach2021-03-05
| | | | | | | innerStride(), outerStride(), and size()" This reverts commit 6cbb3038ac48cb5fe17eba4dfbf26e3e798041f1 because it breaks clang-10 builds on x86 and aarch64 when C++11 is enabled.
* Adds EIGEN_CONSTEXPR and EIGEN_NOEXCEPT to rows(), cols(), innerStride(), ↵Gravatar Steve Bronder2021-03-04
| | | | outerStride(), and size()
* Move variadic constructors outside `#ifndef EIGEN_PARSED_BY_DOXYGEN` block, ↵Gravatar Christoph Hertzberg2019-07-12
| | | | to make it actually appear in the generated documentation.
* Update documentation of Matrix and Array type aliases.Gravatar Gael Guennebaud2019-02-20
|
* Protect c++11 type alias with Eigen's macro, and add respective unit test.Gravatar Gael Guennebaud2019-02-20
|
* Merged in ra_bauke/eigen (pull request PR-180)Gravatar Gael Guennebaud2019-02-20
|\ | | | | | | | | | | alias template for matrix and array classes, see also bug #864 Approved-by: Heiko Bauke <heiko.bauke@mail.de>
* | cleanupGravatar Gael Guennebaud2019-01-24
| |
* | PR 574: use variadic template instead of initializer_list to implement ↵Gravatar David Tellenbach2019-01-23
| | | | | | | | fixed-size vector ctor from coefficients.
* | Cleanup SFINAE in Array/Matrix(initializer_list) ctors and minor doc editing.Gravatar Gael Guennebaud2019-01-22
| |
* | PR 572: Add initializer list constructors to Matrix and Array (include unit ↵Gravatar David Tellenbach2019-01-21
| | | | | | | | | | | | | | | | tests and doc) - {1,2,3,4,5,...} for fixed-size vectors only - {{1,2,3},{4,5,6}} for the general cases - {{1,2,3,4,5,....}} is allowed for both row and column-vector
* | bug #1634: remove double copy in move-ctor of non movable Matrix/ArrayGravatar Gael Guennebaud2018-11-30
| |
* | Enable Array(EigenBase<>) ctor for compatible scalar types only. This ↵Gravatar Gael Guennebaud2017-06-12
| | | | | | | | prevents nested arrays to look as being convertible from/to simple arrays.
* | Doc: split customizing-eigen page into sub-pages and re-structure a bit the ↵Gravatar Gael Guennebaud2016-08-30
| | | | | | | | different topics
* | Make Arrays's ctor/assignment noexceptGravatar Gael Guennebaud2016-06-09
| |
* | Make EIGEN_HAS_RVALUE_REFERENCES user configurableGravatar Gael Guennebaud2016-05-20
| |
* | Rename EIGEN_HAVE_RVALUE_REFERENCES to EIGEN_HAS_RVALUE_REFERENCESGravatar Gael Guennebaud2016-05-20
| |
| * alias template for matrix and array classesGravatar Heiko Bauke2016-04-23
|/
* Fix numerous doxygen shortcomings, and workaround some clang -Wdocumentation ↵Gravatar Gael Guennebaud2016-01-01
| | | | warnings
* bug #1047: document the structure layout of class MatrixGravatar Gael Guennebaud2015-07-29
|
* Constructing a Matrix/Array with implicit transpose could lead to memory leaks.Gravatar Christoph Hertzberg2015-04-16
| | | | Also reduced code duplication for Matrix/Array constructors
* bug #970: Add EIGEN_DEVICE_FUNC to RValue functions, in case Cuda supports ↵Gravatar Christoph Hertzberg2015-02-24
| | | | RValue-references.
* bug #903: clean swap API regarding extra enable_if parameters, and add ↵Gravatar Gael Guennebaud2014-11-06
| | | | failtests for swap
* bug #100: add support for explicit scalar to Array conversion (as enable ↵Gravatar Gael Guennebaud2014-09-19
| | | | implicit conversion is much more tricky)
* Fix bug #826: Allow initialization of 1x1 Arrays/Matrices by passing a value.Gravatar Christoph Hertzberg2014-06-23
|
* merge with default branchGravatar Gael Guennebaud2013-11-05
|\
* | Fix bug #654: allow implicit transposition in Array to Matrix and Matrix to ↵Gravatar Gael Guennebaud2013-09-07
| | | | | | | | Array constructors
* | Added move support for Matrix and Array.Gravatar Hauke Heibel2013-08-02
| | | | | | | | | | | | Added EIGEN_HAVE_RVALUE_REFERENCES define. Added move unit tests. Removed superfluous 'inline' declarations in DenseStorage.
| * merge with main branchGravatar Gael Guennebaud2013-07-17
| |\ | |/ |/|
* | Remove meaningless explicit qualifierGravatar Gael Guennebaud2013-06-12
| |
| * merge with default branchGravatar Gael Guennebaud2013-04-19
| |\ | |/ |/|
| * Add support for NVCC5: most of the Core and part of LU are callable from ↵Gravatar Gael Guennebaud2013-02-07
| | | | | | | | | | | | CUDA code. Still a lot to do.
* | add EIGEN_INITIALIZE_MATRICES_BY_NANGravatar Gael Guennebaud2013-02-07
|/
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* fix most of the shadow warnings in Core/*.hGravatar Gael Guennebaud2012-06-22
|
* Get rid of include directives inside namespace blocks (bug #339).Gravatar Jitse Niesen2012-04-15
|
* Alignment fixes:Gravatar Benoit Jacob2011-11-22
| | | | | | * Fix AlignedBit computation for Plain Objects * use it for the conditional alignment of operator new * only overload new in PlainObjectBase, don't overload again in Matrix and Array
* Improve documentation of plugins.Gravatar Jitse Niesen2011-02-13
|
* relax Matrix/Array(Index) ctors to allow size 0, add test.Gravatar Benoit Jacob2011-02-01
|
* remove EIGEN_REF_TO_TEMPORARY, clarify docsGravatar Benoit Jacob2010-12-25
|
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* renaming: ei_matrix_storage -> DenseStorageGravatar Benoit Jacob2010-10-20
| | | | DenseStorageBase -> PlainObjectBase
* Docs: Add references to TopicClassHierarchyGravatar Jitse Niesen2010-08-22
|
* Several changes in comments to keep Doxygen happy.Gravatar Jitse Niesen2010-07-25
|
* Various documentation improvements.Gravatar Jitse Niesen2010-07-06
| | | | | | | * Add short documentation for Array class * Put all classes explicitly in Core module (where applicable) * Section on Modules in Quick Reference Guide * Put Page 7 after Page 6 in Contents :)
* email changeGravatar Gael Guennebaud2010-06-24
|
* finish to merge Array into Core:Gravatar Gael Guennebaud2010-06-19
- mv Array/* into Core/ - merge Functors.h files, and move Norms.h into Dot.h