summaryrefslogtreecommitdiffstats
path: root/mathfuncs_base.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-12-01 13:58:22 -0500
committerErik Schnetter <schnetter@gmail.com>2012-12-01 13:58:22 -0500
commitaf41d3bc35d082cb4d8e793071a801b589978ce8 (patch)
tree8bd5006e6939f3e340e790e29b6f72976a69f210 /mathfuncs_base.h
parenta3dbc151cd3d9ea06b3c44e66c67284f5d63d443 (diff)
downloadvecmathlib-af41d3bc35d082cb4d8e793071a801b589978ce8.zip
vecmathlib-af41d3bc35d082cb4d8e793071a801b589978ce8.tar.gz
Implement cosh sinh tanh
Diffstat (limited to 'mathfuncs_base.h')
-rw-r--r--mathfuncs_base.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mathfuncs_base.h b/mathfuncs_base.h
index 5fdcafd..a7207f8 100644
--- a/mathfuncs_base.h
+++ b/mathfuncs_base.h
@@ -76,6 +76,16 @@ namespace vecmathlib {
static realvec_t vml_rcp(realvec_t x);
static realvec_t vml_remainder(realvec_t x, realvec_t y);
+ // sin
+ static realvec_t vml_cos(realvec_t x);
+ static realvec_t vml_sin(realvec_t x);
+ static realvec_t vml_tan(realvec_t x);
+
+ // sinh
+ static realvec_t vml_cosh(realvec_t x);
+ static realvec_t vml_sinh(realvec_t x);
+ static realvec_t vml_tanh(realvec_t x);
+
// sqrt
static realvec_t vml_rsqrt(realvec_t x);
static realvec_t vml_sqrt(realvec_t x);
OpenPOWER on IntegriCloud