commit | aea630a98a39a523bfb008e884262d69ee473b8d | [log] [tgz] |
---|---|---|
author | Gael Guennebaud <g.gael@free.fr> | Thu Feb 17 17:37:11 2011 +0100 |
committer | Gael Guennebaud <g.gael@free.fr> | Thu Feb 17 17:37:11 2011 +0100 |
tree | 9af0e1ae346bc2e07568fd8c155013986dcfe34a | |
parent | 2ba55e90db84d33c83fd9aaaa42004d211779a1d [diff] |
factorize implementation of standard real unary math functions, and add acos, asin
diff --git a/doc/snippets/Cwise_acos.cpp b/doc/snippets/Cwise_acos.cpp new file mode 100644 index 0000000..34432cb --- /dev/null +++ b/doc/snippets/Cwise_acos.cpp
@@ -0,0 +1,2 @@ +Array3d v(0, sqrt(2.)/2, 1); +cout << v.acos() << endl;