mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 01:29:35 +08:00
Fix doc wrt previous change
This commit is contained in:
parent
dfa8439e4d
commit
c3a19527a2
@ -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
|
||||
///
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user