This commit is contained in:
Gael Guennebaud 2018-11-23 16:06:21 +01:00
commit e3b22a6bd0
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@ namespace Eigen {
/** \eigenManualPage TutorialSlicingIndexing Slicing and Indexing /** \eigenManualPage TutorialSlicingIndexing Slicing and Indexing
This pape presents the numerous possibilities offered by `operator()` to index sub-set of rows and columns. This page presents the numerous possibilities offered by `operator()` to index sub-set of rows and columns.
This API has been introduced in %Eigen 3.4. This API has been introduced in %Eigen 3.4.
It supports all the feature proposed by the \link TutorialBlockOperations block API \endlink, and much more. It supports all the feature proposed by the \link TutorialBlockOperations block API \endlink, and much more.
In particular, it supports \b slicing that consists in taking a set of rows, columns, or elements, uniformly spaced within a matrix or indexed from an array of indices. In particular, it supports \b slicing that consists in taking a set of rows, columns, or elements, uniformly spaced within a matrix or indexed from an array of indices.

View File

@ -70,7 +70,9 @@ void jacobisvd_method()
} }
namespace Foo { namespace Foo {
class Bar {}; // older compiler require a default constructor for Bar
// cf: https://stackoverflow.com/questions/7411515/
class Bar {public: Bar() {}};
bool operator<(const Bar&, const Bar&) { return true; } bool operator<(const Bar&, const Bar&) { return true; }
} }
// regression test for a very strange MSVC issue for which simply // regression test for a very strange MSVC issue for which simply