diff options
Diffstat (limited to 'eigen/doc/snippets/Cwise_product.cpp')
-rw-r--r-- | eigen/doc/snippets/Cwise_product.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eigen/doc/snippets/Cwise_product.cpp b/eigen/doc/snippets/Cwise_product.cpp new file mode 100644 index 0000000..714d66d --- /dev/null +++ b/eigen/doc/snippets/Cwise_product.cpp @@ -0,0 +1,4 @@ +Array33i a = Array33i::Random(), b = Array33i::Random(); +Array33i c = a * b; +cout << "a:\n" << a << "\nb:\n" << b << "\nc:\n" << c << endl; + |