mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Fix typo in Tutorial_BlockOperations_block_assignment.cpp
This commit is contained in:
parent
4091f6b25c
commit
d199c17b14
@ -14,5 +14,5 @@ int main()
|
|||||||
a.block<2,2>(1,1) = m;
|
a.block<2,2>(1,1) = m;
|
||||||
cout << "Here is now a with m copied into its central 2x2 block:" << endl << a << endl << endl;
|
cout << "Here is now a with m copied into its central 2x2 block:" << endl << a << endl << endl;
|
||||||
a.block(0,0,2,3) = a.block(2,1,2,3);
|
a.block(0,0,2,3) = a.block(2,1,2,3);
|
||||||
cout << "Here is now a with bottom-right 2x3 block copied into top-left 2x2 block:" << endl << a << endl << endl;
|
cout << "Here is now a with bottom-right 2x3 block copied into top-left 2x3 block:" << endl << a << endl << endl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user