diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-09-19 11:49:26 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-09-19 11:49:26 +0200 |
commit | c3a19527a213cbfa5dc8112c75347702c3a29644 (patch) | |
tree | 0038d42ad7fc6c91b03bfeedc013ed6afcfb8f4b | |
parent | dfa8439e4d71a3b8dafc38a8419998e683f3ee96 (diff) |
Fix doc wrt previous change
-rw-r--r-- | Eigen/src/plugins/ReshapedMethods.h | 4 | ||||
-rw-r--r-- | doc/snippets/MatrixBase_reshaped_auto.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/plugins/ReshapedMethods.h b/Eigen/src/plugins/ReshapedMethods.h index db55cffe7..a7320e2e0 100644 --- a/Eigen/src/plugins/ReshapedMethods.h +++ b/Eigen/src/plugins/ReshapedMethods.h @@ -3,9 +3,9 @@ /// /// \param nRows the number of rows in the reshaped expression, specified at either run-time or compile-time, or AutoSize /// \param nCols the number of columns in the reshaped expression, specified at either run-time or compile-time, or AutoSize -/// \param order specifies whether the coefficients should be processed in column-major-order (ColOrder), in row-major-order (RowOrder), -/// or follows the \em natural order of the nested expression (AutoOrder). The default is ColOrder. /// \tparam NRowsType the type of the value handling the number of rows, typically Index. +/// \tparam Order specifies whether the coefficients should be processed in column-major-order (ColMajor), in row-major-order (RowMajor), +/// or follows the \em natural order of the nested expression (AutoOrder). The default is ColMajor. /// \tparam NColsType the type of the value handling the number of columns, typically Index. /// \tparam OrderType the type of the order /// diff --git a/doc/snippets/MatrixBase_reshaped_auto.cpp b/doc/snippets/MatrixBase_reshaped_auto.cpp index 2adf321f3..59f9d3f60 100644 --- a/doc/snippets/MatrixBase_reshaped_auto.cpp +++ b/doc/snippets/MatrixBase_reshaped_auto.cpp @@ -1,4 +1,4 @@ Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(2, AutoSize):" << endl << m.reshaped(2, AutoSize) << endl; -cout << "Here is m.reshaped(AutoSize, fix<8>, RowOrder):" << endl << m.reshaped(AutoSize, fix<8>, RowOrder) << endl; +cout << "Here is m.reshaped<RowMajor>(AutoSize, fix<8>):" << endl << m.reshaped<RowMajor>(AutoSize, fix<8>) << endl; |