summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/Trigonometry/csc
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/Trigonometry/csc')
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccsca.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccscs.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcsca.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcscs.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scsca.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scscs.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcsca.c12
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c15
8 files changed, 96 insertions, 3 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccsca.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccsca.c
index 5f5504a5..7ec9a6b8 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccsca.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccsca.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include "csc.h"
#include <math.h>
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccscs.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccscs.c
index af8b3eb2..f16aa1b9 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccscs.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/ccscs.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include <math.h>
#include "sin.h"
#include "cos.h"
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcsca.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcsca.c
index eeedea52..b1a3cf3b 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcsca.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcsca.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include "csc.h"
void dcsca(double* in,int size,double* out)
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcscs.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcscs.c
index 31a6944e..f9e128c2 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcscs.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/dcscs.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include "csc.h"
#include <math.h>
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scsca.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scsca.c
index 3e6963ac..cea8338f 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scsca.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scsca.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include "csc.h"
void scsca(float* in,int size,float* out)
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scscs.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scscs.c
index 6d1b1b7f..f0ad15e4 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scscs.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/scscs.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include "csc.h"
#include <math.h>
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcsca.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcsca.c
index 4b8cdad6..59430925 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcsca.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcsca.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include "csc.h"
#include <math.h>
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c
index bbb15266..64fce57a 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/csc/zcscs.c
@@ -1,3 +1,15 @@
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Shamik Guha
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
+
#include <math.h>
#include "sin.h"
#include "cos.h"
@@ -9,10 +21,7 @@
doubleComplex zcscs(doubleComplex z)
{
- doubleComplex out;
- //out = zrdivs(DoubleComplex(1,0),zsins(z));
double real = zreals(z);
double imag = zimags(z);
return zrdivs(DoubleComplex(1,0),(DoubleComplex(dsins(real) * dcoshs(imag), dcoss(real) * dsinhs(imag))));
- //return out;
}