aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets
diff options
context:
space:
mode:
authorGravatar David Tellenbach <david.tellenbach@me.com>2020-10-14 01:56:42 +0000
committerGravatar David Tellenbach <david.tellenbach@me.com>2020-10-14 01:56:42 +0000
commite3e2cf9d243e9dc59531240690e66c89f49d418e (patch)
tree71af97e7e7f9e350fb643588404d35e158ab1888 /doc/snippets
parent61fc78bbda22f425a97761be57c219928d929ddc (diff)
Add MatrixBase::cwiseArg()
Diffstat (limited to 'doc/snippets')
-rw-r--r--doc/snippets/MatrixBase_cwiseArg.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/snippets/MatrixBase_cwiseArg.cpp b/doc/snippets/MatrixBase_cwiseArg.cpp
new file mode 100644
index 000000000..e0857cf97
--- /dev/null
+++ b/doc/snippets/MatrixBase_cwiseArg.cpp
@@ -0,0 +1,3 @@
+MatrixXcf v = MatrixXcf::Random(2, 3);
+cout << v << endl << endl;
+cout << v.cwiseArg() << endl; \ No newline at end of file