mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
Block doc non square
This commit is contained in:
parent
f9705adabb
commit
f679843dc2
@ -12,4 +12,8 @@ int main() {
|
||||
cout << "Block of size " << i << "x" << i << endl;
|
||||
cout << m.block(0, 0, i, i) << endl << endl;
|
||||
}
|
||||
int j1 = 2;
|
||||
int j2 = 3;
|
||||
cout << "Non-square block of size " << j1 << "x" << j2 << endl;
|
||||
cout << m.block(0, 0, j1, j2) << endl << endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user