From 23ffede3d0d280962bad418a41957cf82e3fadc9 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 3 Jan 2008 19:36:32 +0000 Subject: more documentation, 12 more code snippets --- doc/snippets/MatrixBase_ones_int.cpp | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/snippets/MatrixBase_ones_int.cpp (limited to 'doc/snippets/MatrixBase_ones_int.cpp') diff --git a/doc/snippets/MatrixBase_ones_int.cpp b/doc/snippets/MatrixBase_ones_int.cpp new file mode 100644 index 000000000..0610bc2f2 --- /dev/null +++ b/doc/snippets/MatrixBase_ones_int.cpp @@ -0,0 +1,2 @@ +cout << 6 * RowVectorXi::ones(4) << endl; +cout << VectorXf::ones(2) << endl; -- cgit v1.2.3