aboutsummaryrefslogtreecommitdiff
path: root/doc/snippets/MatrixBase_random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snippets/MatrixBase_random.cpp')
-rw-r--r--doc/snippets/MatrixBase_random.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/snippets/MatrixBase_random.cpp b/doc/snippets/MatrixBase_random.cpp
new file mode 100644
index 000000000..65fc524f1
--- /dev/null
+++ b/doc/snippets/MatrixBase_random.cpp
@@ -0,0 +1 @@
+cout << 100 * Matrix2i::Random() << endl;