commit | d028262e060b295b8aa7299cdef91f66409fd1f5 | [log] [tgz] |
---|---|---|
author | Jason Newton <nevion@gmail.com> | Thu Feb 03 14:34:40 2011 +0100 |
committer | Jason Newton <nevion@gmail.com> | Thu Feb 03 14:34:40 2011 +0100 |
tree | e52e56eaa565f4eaf99cfde0ea39763eeaae7b9c | |
parent | 1eae6d0fb9f433691d670cafa4f37ca43307a383 [diff] |
add tan function in Array world
diff --git a/doc/snippets/Cwise_tan.cpp b/doc/snippets/Cwise_tan.cpp new file mode 100644 index 0000000..b758ef0 --- /dev/null +++ b/doc/snippets/Cwise_tan.cpp
@@ -0,0 +1,2 @@ +Array3d v(M_PI, M_PI/2, M_PI/3); +cout << v.tan() << endl;