summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/includes/tanh.h
diff options
context:
space:
mode:
authorjofret2007-10-22 15:25:31 +0000
committerjofret2007-10-22 15:25:31 +0000
commit1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60 (patch)
tree9dc930a53931f0db39f462dfcec8f4a5a3f836f8 /src/elementaryFunctions/includes/tanh.h
parent631a22d38f47413311f08b4b78c13e3ec7b4f1d2 (diff)
downloadscilab2c-1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60.tar.gz
scilab2c-1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60.tar.bz2
scilab2c-1c4dd59a3c4a052771bfdb3c625dd11b4eb94b60.zip
Moving array functions prototype
Diffstat (limited to 'src/elementaryFunctions/includes/tanh.h')
-rw-r--r--src/elementaryFunctions/includes/tanh.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/elementaryFunctions/includes/tanh.h b/src/elementaryFunctions/includes/tanh.h
index 58006feb..9caf63aa 100644
--- a/src/elementaryFunctions/includes/tanh.h
+++ b/src/elementaryFunctions/includes/tanh.h
@@ -5,11 +5,14 @@
** Made by Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on Tue Dec 5 15:49:18 2006 jofret
-** Last update Mon Mar 19 11:47:46 2007 jofret
+** Last update Mon Oct 22 08:55:49 2007 bruno
**
** Copyright INRIA 2006
*/
+#ifndef __TANH_H__
+#define __TANH_H__
+
#include "floatComplex.h"
#include "doubleComplex.h"
@@ -47,7 +50,7 @@ doubleComplex ztanhs(doubleComplex in);
** \param out : output array value.
** \param size : the size of in and out arrays.
*/
-void stanha(float* in, float* out, int size);
+void stanha(float* in, int size, float* out);
/*
** \brief Double Matrix Hyperbolic Tangeant function
@@ -55,7 +58,7 @@ void stanha(float* in, float* out, int size);
** \param out : output array value.
** \param size : the size of in and out arrays.
*/
-void dtanha(double* in, double* out, int size);
+void dtanha(double* in, int size, double* out);
/*
** \brief Float Complex Matrix Hyperbolic Tangeant function
@@ -63,7 +66,7 @@ void dtanha(double* in, double* out, int size);
** \param out : output array value.
** \param size : the size of in and out arrays.
*/
-void ctanha(floatComplex* in, floatComplex* out, int size);
+void ctanha(floatComplex* in, int size, floatComplex* out);
/*
** \brief Double Complex Matrix Hyperbolic Tangeant function
@@ -71,6 +74,6 @@ void ctanha(floatComplex* in, floatComplex* out, int size);
** \param out : output array value.
** \param size : the size of in and out arrays.
*/
-void ztanha(doubleComplex* in, doubleComplex* out, int size);
-
+void ztanha(doubleComplex* in, int size, doubleComplex* out);
+#endif /* !__TANH_H__ */