From d028262e060b295b8aa7299cdef91f66409fd1f5 Mon Sep 17 00:00:00 2001 From: Jason Newton Date: Thu, 3 Feb 2011 14:34:40 +0100 Subject: add tan function in Array world --- doc/snippets/Cwise_tan.cpp | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 doc/snippets/Cwise_tan.cpp (limited to 'doc/snippets/Cwise_tan.cpp') diff --git a/doc/snippets/Cwise_tan.cpp b/doc/snippets/Cwise_tan.cpp new file mode 100644 index 000000000..b758ef04a --- /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; -- cgit v1.2.3