Block doc non square

This commit is contained in:
Johannes Zipfel 2025-01-25 17:14:21 +00:00 committed by Antonio Sánchez
parent f9705adabb
commit f679843dc2

View File

@ -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;
}