[Gridflow-cvs] [svn] commit: r6387 - /trunk/src/numop1.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Oct 2 14:27:21 EDT 2010


Author: matju
Date: Sat Oct  2 14:27:21 2010
New Revision: 6387

Log:
add: sinh cosh tan

Modified:
    trunk/src/numop1.cxx

Modified: trunk/src/numop1.cxx
==============================================================================
--- trunk/src/numop1.cxx (original)
+++ trunk/src/numop1.cxx Sat Oct  2 14:27:21 2010
@@ -76,7 +76,16 @@
 
 DEF_OP(sin,  sin(a))
 DEF_OP(cos,  cos(a))
+DEF_OP(tan,  tan(a))
+DEF_OP(asin, asin(a))
+DEF_OP(acos, acos(a))
+DEF_OP(atan, atan(a))
+DEF_OP(sinh, sinh(a))
+DEF_OP(cosh, cosh(a))
 DEF_OP(tanh, tanh(a))
+DEF_OP(asinh, asinh(a))
+DEF_OP(acosh, acosh(a))
+DEF_OP(atanh, atanh(a))
 DEF_OP(exp,  exp(a))
 DEF_OP(log,  log(a))
 
@@ -91,6 +100,12 @@
 	DECL_OP(logic_not, "!"),
 	DECL_OP(not, "~"),
 	DECL_OP(abs, "abs"),
+	DECL_OP(tan, "tan"),
+	DECL_OP(sinh, "sinh"),
+	DECL_OP(cosh, "cosh"),
+	//DECL_OP(asin, "asin"),
+	//DECL_OP(acos, "acos"),
+	//DECL_OP(atan, "atan"), // but atan is already reserved by a c° function.
 
 	DECL_OP(sqrt, "sqrt"),
 	DECL_OP(rand, "rand"),



More information about the Gridflow-cvs mailing list