aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/tutorial.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-09-09 09:03:42 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-09-09 09:03:42 +0000
commit3b727ef939f5888a8931b231edcf31c00de8bf69 (patch)
tree37a26fad1f751d5aa0636486566bd05105633c36 /doc/tutorial.cpp
parent1dab53d3004b4b94d079a664ea96cd66bb748d6b (diff)
some cleanup
Diffstat (limited to 'doc/tutorial.cpp')
-rw-r--r--doc/tutorial.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp
index 60d204ce6..967f0a544 100644
--- a/doc/tutorial.cpp
+++ b/doc/tutorial.cpp
@@ -25,7 +25,6 @@ int main(int, char **)
m2.block(2,3,2,3) = m - m;
cout << "Now the 4x4 matrix m2 is:" << endl << m2 << endl;
- // here we don't need to use .xpr() because we only need read access.
cout << "The central 2x2 block of m2 is:" << endl << m2.block(1,2,1,2) << endl;
cout << "Row 0 of m2, written as a column vector, is:" << endl << m2.row(0) << endl;
cout << "Column 1 of m2 is:" << endl << m2.col(1) << endl;