aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/AsciiQuickReference.txt
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-01-04 21:24:43 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-01-04 21:24:43 -0500
commit39ac57fa6ddf9a74d9a6cc213293914d2e05ec31 (patch)
tree6c5c83c68ca023799bc09ebcbe150f894cb33b3b /doc/AsciiQuickReference.txt
parent78ba523d3038b854c5beca7a94cbe9b7e955a9f3 (diff)
Big renaming:
start ---> head end ---> tail Much frustration with sed syntax. Need to learn perl some day.
Diffstat (limited to 'doc/AsciiQuickReference.txt')
-rw-r--r--doc/AsciiQuickReference.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/AsciiQuickReference.txt b/doc/AsciiQuickReference.txt
index 6c1c4fbd8..86f77a66b 100644
--- a/doc/AsciiQuickReference.txt
+++ b/doc/AsciiQuickReference.txt
@@ -41,8 +41,8 @@ A.setIdentity(); // Fill A with the identity.
// Eigen // Matlab
x.start(n) // x(1:n)
x.start<n>() // x(1:n)
-x.end(n) // N = rows(x); x(N - n: N)
-x.end<n>() // N = rows(x); x(N - n: N)
+x.tail(n) // N = rows(x); x(N - n: N)
+x.tail<n>() // N = rows(x); x(N - n: N)
x.segment(i, n) // x(i+1 : i+n)
x.segment<n>(i) // x(i+1 : i+n)
P.block(i, j, rows, cols) // P(i+1 : i+rows, j+1 : j+cols)