From 170334ed9128da4a2f916d88ba52db0988e1d119 Mon Sep 17 00:00:00 2001 From: jofret Date: Mon, 29 Jan 2007 17:02:35 +0000 Subject: Need to have a clear answer about STDC99 for complex implementation ! Add som tests. --- src/elementaryFunctions/tan/tan.h | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/elementaryFunctions/tan/tan.h (limited to 'src/elementaryFunctions/tan/tan.h') diff --git a/src/elementaryFunctions/tan/tan.h b/src/elementaryFunctions/tan/tan.h new file mode 100644 index 00000000..62309c9e --- /dev/null +++ b/src/elementaryFunctions/tan/tan.h @@ -0,0 +1,57 @@ +/* +** -*- C -*- +** +** tan.h +** Made by Bruno JOFRET +** +** Started on Tue Dec 5 15:49:18 2006 jofret +** Last update Mon Jan 29 16:10:30 2007 jofret +** +** Copyright INRIA 2006 +*/ + +/* +** Compute Tangeant for different types . +*/ + +/* +** \brief Float Tangeant function +*/ +float stans(float); + +/* +** \brief Double Tangeant function +*/ +double dtans(double); + +/* +** \brief Float Complex Tangeant function +*/ +floatComplex ctans(floatComplex); + +/* +** \brief Double Complex Tangeant function +*/ +doubleComplex ztans(doubleComplex); + +/* +** \brief Float Matrix Tangeant function +*/ +void stana(float*, int, float*, int, int); + +/* +** \brief Double Matrix Tangeant function +*/ +void dtana(double*, int, double*, int, int); + +/* +** \brief Float Complex Matrix Tangeant function +*/ +void ctana(floatComplex*, int, floatComplex*, int, int); + +/* +** \brief Double Complex Matrix Tangeant function +*/ +void ztana(doubleComplex*, int, doubleComplex*, int, int); + + -- cgit