diff options
author | 2010-04-22 14:11:18 -0400 | |
---|---|---|
committer | 2010-04-22 14:11:18 -0400 | |
commit | 9962c59b56960569c8df332144190e62c1eb3b01 (patch) | |
tree | a3efa574460c6a08f4ed17a3896b497d5bfc374f /doc/snippets | |
parent | 28dde19e40a3d758faa94f0fc228857f7b3192ea (diff) |
* implement the corner() API change: new methods topLeftCorner() etc
* get rid of BlockReturnType: it was not needed, and code was not always using it consistently anyway
* add topRows(), leftCols(), bottomRows(), rightCols()
* add corners unit-test covering all of that
* adapt docs, expand "porting from eigen 2 to 3"
* adapt Eigen2Support
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/MatrixBase_corner_enum_int_int.cpp | 6 | ||||
-rw-r--r-- | doc/snippets/MatrixBase_template_int_int_corner_enum.cpp | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/doc/snippets/MatrixBase_corner_enum_int_int.cpp b/doc/snippets/MatrixBase_corner_enum_int_int.cpp deleted file mode 100644 index fd6c950cc..000000000 --- a/doc/snippets/MatrixBase_corner_enum_int_int.cpp +++ /dev/null @@ -1,6 +0,0 @@ -Matrix4i m = Matrix4i::Random(); -cout << "Here is the matrix m:" << endl << m << endl; -cout << "Here is the bottom-right 2x3 corner in m:" << endl - << m.corner(Eigen::BottomRight, 2, 3) << endl; -m.corner(Eigen::BottomRight, 2, 3).setZero(); -cout << "Now the matrix m is:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_template_int_int_corner_enum.cpp b/doc/snippets/MatrixBase_template_int_int_corner_enum.cpp deleted file mode 100644 index 05ed0ad2f..000000000 --- a/doc/snippets/MatrixBase_template_int_int_corner_enum.cpp +++ /dev/null @@ -1,6 +0,0 @@ -Matrix4i m = Matrix4i::Random(); -cout << "Here is the matrix m:" << endl << m << endl; -cout << "Here is the bottom-right 2x3 corner in m:" << endl - << m.corner<2,3>(Eigen::BottomRight) << endl; -m.corner<2,3>(Eigen::BottomRight).setZero(); -cout << "Now the matrix m is:" << endl << m << endl; |