aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/indexed_view.cpp
Commit message (Collapse)AuthorAge
* Fixed/masked more implicit copy constructor warningsGravatar Christoph Hertzberg2021-02-27
| | | | (cherry picked from commit 2883e91ce5a99c391fbf28e20160176b70854992)
* Guard usage of decltype since it's a C++11 featureGravatar David Tellenbach2020-05-20
| | | | This fixes https://gitlab.com/libeigen/eigen/-/issues/1897
* Indexed view should have RowMajorBit when there is staticly a single rowGravatar Christopher Moore2020-05-14
|
* Resolve "IndexedView of a vector should allow linear access"Gravatar Christopher Moore2020-05-13
|
* Bug #1788: Fix rule-of-three violations inside the stable modules.Gravatar Christoph Hertzberg2019-12-19
| | | | | This fixes deprecated-copy warnings when compiling with GCC>=9 Also protect some additional Base-constructors from getting called by user code code (#1587)
* bug #1736: fix compilation issue with A(all,{1,2}).col(j) by implementing ↵Gravatar Gael Guennebaud2019-09-11
| | | | true compile-time "if" for block_evaluator<>::coeff(i)/coeffRef(i)
* fix unit compilation in c++17: std::ptr_fun has been removed.Gravatar Gael Guennebaud2019-02-19
|
* Avoid `I` as an identifier, since it may clash with the C-header complex.hGravatar Christoph Hertzberg2019-01-25
|
* Fix max-size in indexed-viewGravatar Gael Guennebaud2018-11-08
|
* Disable C++11 deprecated warning when limiting Eigen to C++98Gravatar Gael Guennebaud2018-10-08
|
* Move all, last, end from Eigen::placeholders namespace to Eigen::, and ↵Gravatar Gael Guennebaud2018-09-15
| | | | rename end to lastp1 to avoid conflicts with std::end.
* Fix 'template argument uses local type'-warnings (when compiled in C++03 mode)Gravatar Christoph Hertzberg2018-09-10
|
* Add lastN shorcuts to seq/seqN.Gravatar Gael Guennebaud2018-07-23
|
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* bug #1531: expose NumDimensions for compatibility with TensorGravatar Gael Guennebaud2018-06-08
|
* Fix typos found using codespellGravatar Gael Guennebaud2018-06-07
|
* add some internal checksGravatar Gael Guennebaud2018-05-18
|
* check that all integer types are properly handled by mat(i,j)Gravatar Gael Guennebaud2018-05-18
|
* Fix compilation of Vector::operator()(enum) by treating enums as IndexGravatar Gael Guennebaud2017-09-07
|
* Fix previous commits: disbale only problematic indexed view methods for old ↵Gravatar Gael Guennebaud2017-02-11
| | | | | | compilers instead of disabling everything. Tested with gcc 4.7 (c++03) and gcc 4.8 (c++03 & c++11)
* Added a new EIGEN_HAS_INDEXED_VIEW define that set to 0 for older compilers ↵Gravatar Benoit Steiner2017-02-10
| | | | | | | that are known to fail to compile the indexed views (I used the define from the indexed_views.cpp test). Only include the indexed view methods when the compiler supports the code. This makes it possible to use Eigen again in complex code bases such as TensorFlow and older compilers such as gcc 4.8
* Disable a part of the unit test for gcc 4.8Gravatar Gael Guennebaud2017-02-01
|
* Fix unamed type as template argument (ok in c++11 only)Gravatar Gael Guennebaud2017-01-25
|
* Add support for std::integral_constantGravatar Gael Guennebaud2017-01-24
|
* Recover compile-time size from seq(A,B) when A and B are fixed values. ↵Gravatar Gael Guennebaud2017-01-19
| | | | (c++11 only)
* Remove dead codeGravatar Gael Guennebaud2017-01-18
|
* Add a .reverse() member to ArithmeticSequence.Gravatar Gael Guennebaud2017-01-18
|
* Update all block expressions to accept compile-time sizes passed by fix<N> ↵Gravatar Gael Guennebaud2017-01-18
| | | | or fix<N>(n)
* Fix regression when passing enums to operator()Gravatar Gael Guennebaud2017-01-17
|
* Fix -Wunnamed-type-template-argsGravatar Gael Guennebaud2017-01-17
|
* Add a generic block() method compatible with Eigen::fixGravatar Gael Guennebaud2017-01-17
|
* Add support for symbolic expressions as arguments of operator()Gravatar Gael Guennebaud2017-01-16
|
* Introduce a variable_or_fixed<N> proxy returned by fix<N>(val) to pass both ↵Gravatar Gael Guennebaud2017-01-16
| | | | | | a compile-time and runtime fallback value in case N means "runtime". This mechanism is used by the seq/seqN functions. The proxy object is immediately converted to pure compile-time (as fix<N>) or pure runtime (i.e., an Index) to avoid redundant template instantiations.
* Large code refactoring:Gravatar Gael Guennebaud2017-01-11
| | | | | | - generalize some utilities and move them to Meta (size(), array_size()) - move handling of all and single indices to IndexedViewHelper.h - several cleanup changes
* Add 1D overloads of operator()Gravatar Gael Guennebaud2017-01-11
|
* add writeable IndexedViewGravatar Gael Guennebaud2017-01-10
|
* Fallback to Block<> when possible (Index, all, seq with > increment).Gravatar Gael Guennebaud2017-01-10
| | | | | This is important to take advantage of the optimized implementations (evaluator, products, etc.), and to support sparse matrices.
* Move 'last' and 'end' to their own namespaceGravatar Gael Guennebaud2017-01-10
|
* Implement c++98 version of seq()Gravatar Gael Guennebaud2017-01-10
|
* Isolate legacy code (we keep it for performance comparison purpose)Gravatar Gael Guennebaud2017-01-10
|
* Add a minimalistic symbolic scalar type with expression template and make ↵Gravatar Gael Guennebaud2017-01-09
| | | | use of it to define the last placeholder and to unify the return type of seq and seqN.
* Rename span/range to seqN/seqGravatar Gael Guennebaud2017-01-09
|
* Add support for plain arrays for columns and both rows/columnsGravatar Gael Guennebaud2017-01-06
|
* Add support for plain-array as indices, e.g., mat({1,2,3,4})Gravatar Gael Guennebaud2017-01-06
|
* Propagate compile-time increment and strides.Gravatar Gael Guennebaud2017-01-06
| | | | Had to introduce a UndefinedIncr constant for non structured list of indices.
* Propagate compile-time size with "all" and add c++11 array unit testGravatar Gael Guennebaud2017-01-06
|
* Use "fix" for compile-time values, propagate compile-time sizes for span, ↵Gravatar Gael Guennebaud2017-01-06
| | | | clean some cleanup.
* Add unit test for indexed viewsGravatar Gael Guennebaud2017-01-06