summaryrefslogtreecommitdiffhomepage
path: root/eigen/doc/snippets/MatrixBase_ones_int_int.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/doc/snippets/MatrixBase_ones_int_int.cpp')
-rw-r--r--eigen/doc/snippets/MatrixBase_ones_int_int.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/eigen/doc/snippets/MatrixBase_ones_int_int.cpp b/eigen/doc/snippets/MatrixBase_ones_int_int.cpp
new file mode 100644
index 0000000..60f5a31
--- /dev/null
+++ b/eigen/doc/snippets/MatrixBase_ones_int_int.cpp
@@ -0,0 +1 @@
+cout << MatrixXi::Ones(2,3) << endl;