diff options
author | 2010-01-04 21:24:43 -0500 | |
---|---|---|
committer | 2010-01-04 21:24:43 -0500 | |
commit | 39ac57fa6ddf9a74d9a6cc213293914d2e05ec31 (patch) | |
tree | 6c5c83c68ca023799bc09ebcbe150f894cb33b3b /doc/snippets | |
parent | 78ba523d3038b854c5beca7a94cbe9b7e955a9f3 (diff) |
Big renaming:
start ---> head
end ---> tail
Much frustration with sed syntax. Need to learn perl some day.
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/MatrixBase_end_int.cpp | 4 | ||||
-rw-r--r-- | doc/snippets/MatrixBase_start_int.cpp | 4 | ||||
-rw-r--r-- | doc/snippets/MatrixBase_template_int_end.cpp | 4 | ||||
-rw-r--r-- | doc/snippets/MatrixBase_template_int_start.cpp | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/doc/snippets/MatrixBase_end_int.cpp b/doc/snippets/MatrixBase_end_int.cpp index aaa54b668..03c54a931 100644 --- a/doc/snippets/MatrixBase_end_int.cpp +++ b/doc/snippets/MatrixBase_end_int.cpp @@ -1,5 +1,5 @@ RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; -cout << "Here is v.end(2):" << endl << v.end(2) << endl; -v.end(2).setZero(); +cout << "Here is v.tail(2):" << endl << v.tail(2) << endl; +v.tail(2).setZero(); cout << "Now the vector v is:" << endl << v << endl; diff --git a/doc/snippets/MatrixBase_start_int.cpp b/doc/snippets/MatrixBase_start_int.cpp index eb43a5dc7..c261d2b4e 100644 --- a/doc/snippets/MatrixBase_start_int.cpp +++ b/doc/snippets/MatrixBase_start_int.cpp @@ -1,5 +1,5 @@ RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; -cout << "Here is v.start(2):" << endl << v.start(2) << endl; -v.start(2).setZero(); +cout << "Here is v.head(2):" << endl << v.head(2) << endl; +v.head(2).setZero(); cout << "Now the vector v is:" << endl << v << endl; diff --git a/doc/snippets/MatrixBase_template_int_end.cpp b/doc/snippets/MatrixBase_template_int_end.cpp index 0908c0305..f5ccb00f6 100644 --- a/doc/snippets/MatrixBase_template_int_end.cpp +++ b/doc/snippets/MatrixBase_template_int_end.cpp @@ -1,5 +1,5 @@ RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; -cout << "Here is v.end(2):" << endl << v.end<2>() << endl; -v.end<2>().setZero(); +cout << "Here is v.tail(2):" << endl << v.tail<2>() << endl; +v.tail<2>().setZero(); cout << "Now the vector v is:" << endl << v << endl; diff --git a/doc/snippets/MatrixBase_template_int_start.cpp b/doc/snippets/MatrixBase_template_int_start.cpp index 231fc3299..d336b3716 100644 --- a/doc/snippets/MatrixBase_template_int_start.cpp +++ b/doc/snippets/MatrixBase_template_int_start.cpp @@ -1,5 +1,5 @@ RowVector4i v = RowVector4i::Random(); cout << "Here is the vector v:" << endl << v << endl; -cout << "Here is v.start(2):" << endl << v.start<2>() << endl; -v.start<2>().setZero(); +cout << "Here is v.head(2):" << endl << v.head<2>() << endl; +v.head<2>().setZero(); cout << "Now the vector v is:" << endl << v << endl; |