From 486fdb26a1d9fa2cd74855d3d459aeb906967b8b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 29 May 2008 03:12:30 +0000 Subject: many small fixes and documentation improvements, this should be alpha5. --- doc/snippets/MatrixBase_template_int_start.cpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/snippets/MatrixBase_template_int_start.cpp (limited to 'doc/snippets/MatrixBase_template_int_start.cpp') diff --git a/doc/snippets/MatrixBase_template_int_start.cpp b/doc/snippets/MatrixBase_template_int_start.cpp new file mode 100644 index 000000000..0cd424a94 --- /dev/null +++ b/doc/snippets/MatrixBase_template_int_start.cpp @@ -0,0 +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 << "Now the vector v is:" << endl << v << endl; -- cgit v1.2.3