diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-07-24 16:43:07 +0100 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-07-24 16:43:07 +0100 |
commit | 3d9764ee24f846d96a948680c2288032244e1dcb (patch) | |
tree | e35344a57edf40198823aa05efd8778e274d6094 /doc/snippets/MatrixBase_replicate_int_int.cpp | |
parent | 425444428c366a09cbc7608c89deac7bcf8da621 (diff) |
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 ...
Diffstat (limited to 'doc/snippets/MatrixBase_replicate_int_int.cpp')
-rw-r--r-- | doc/snippets/MatrixBase_replicate_int_int.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |