diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-02-17 17:37:11 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-02-17 17:37:11 +0100 |
commit | aea630a98a39a523bfb008e884262d69ee473b8d (patch) | |
tree | 9af0e1ae346bc2e07568fd8c155013986dcfe34a /doc/snippets | |
parent | 2ba55e90db84d33c83fd9aaaa42004d211779a1d (diff) |
factorize implementation of standard real unary math functions, and add acos, asin
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/Cwise_acos.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_acos.cpp b/doc/snippets/Cwise_acos.cpp new file mode 100644 index 000000000..34432cbac --- /dev/null +++ b/doc/snippets/Cwise_acos.cpp @@ -0,0 +1,2 @@ +Array3d v(0, sqrt(2.)/2, 1); +cout << v.acos() << endl; |