From 3d9764ee24f846d96a948680c2288032244e1dcb Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Sat, 24 Jul 2010 16:43:07 +0100 Subject: Add some more examples for the API documentation. The only missing examples now are for homogeneous() and hnormalized(); I don't know what they're used for ... --- doc/snippets/MatrixBase_replicate_int_int.cpp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 doc/snippets/MatrixBase_replicate_int_int.cpp (limited to 'doc/snippets/MatrixBase_replicate_int_int.cpp') diff --git a/doc/snippets/MatrixBase_replicate_int_int.cpp b/doc/snippets/MatrixBase_replicate_int_int.cpp new file mode 100644 index 000000000..b1dbc70bc --- /dev/null +++ b/doc/snippets/MatrixBase_replicate_int_int.cpp @@ -0,0 +1,4 @@ +Vector3i v = Vector3i::Random(); +cout << "Here is the vector v:" << endl << v << endl; +cout << "v.replicate(2,5) = ..." << endl; +cout << v.replicate(2,5) << endl; -- cgit v1.2.3