aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2014-06-19 15:12:33 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2014-06-19 15:12:33 +0100
commitde150b1e14b5f7fc6f4831b6cd982d3272ca3aca (patch)
treed0d713b20180b78c30f53a089c524202e1c8c5ab /doc
parent55453c51e8c7d7d69ffa67777ad3355ab9c6f771 (diff)
Add documentation and very simple test for array atan(), part 2
(files I forget in the previous commit).
Diffstat (limited to 'doc')
-rw-r--r--doc/snippets/Cwise_atan.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_atan.cpp b/doc/snippets/Cwise_atan.cpp
new file mode 100644
index 000000000..446844726
--- /dev/null
+++ b/doc/snippets/Cwise_atan.cpp
@@ -0,0 +1,2 @@
+ArrayXd v = ArrayXd::LinSpaced(5,0,1);
+cout << v.atan() << endl;