diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-05-29 03:12:30 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-05-29 03:12:30 +0000 |
commit | 486fdb26a1d9fa2cd74855d3d459aeb906967b8b (patch) | |
tree | 71ddcffcd41796a56cdf76205c54a4594b5e88a3 /doc/snippets/MatrixBase_template_int_end.cpp | |
parent | c1559d30791f2aff2511d65bf1dac6f16946c801 (diff) |
many small fixes and documentation improvements,
this should be alpha5.
Diffstat (limited to 'doc/snippets/MatrixBase_template_int_end.cpp')
-rw-r--r-- | doc/snippets/MatrixBase_template_int_end.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/snippets/MatrixBase_template_int_end.cpp b/doc/snippets/MatrixBase_template_int_end.cpp new file mode 100644 index 000000000..eb6990167 --- /dev/null +++ b/doc/snippets/MatrixBase_template_int_end.cpp @@ -0,0 +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 << "Now the vector v is:" << endl << v << endl; |