summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/Trigonometry/coth/scotha.c
diff options
context:
space:
mode:
authorSiddhesh Wani2017-05-04 16:15:18 +0530
committerSiddhesh Wani2017-05-04 16:15:18 +0530
commite36eac94dd517bb69d3e5782516ee58942451991 (patch)
tree54347eba02cd5287ac5884ab84a5ca0c99f33edb /src/c/elementaryFunctions/Trigonometry/coth/scotha.c
parentc7e9597db39140c1d982f796a8e1f03bb54e7905 (diff)
downloadScilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.gz
Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.tar.bz2
Scilab2C_fossee_old-e36eac94dd517bb69d3e5782516ee58942451991.zip
Basic functions and image processing working with MSVC on windows x64
Diffstat (limited to 'src/c/elementaryFunctions/Trigonometry/coth/scotha.c')
-rw-r--r--src/c/elementaryFunctions/Trigonometry/coth/scotha.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/c/elementaryFunctions/Trigonometry/coth/scotha.c b/src/c/elementaryFunctions/Trigonometry/coth/scotha.c
index 3fdf37f..5335162 100644
--- a/src/c/elementaryFunctions/Trigonometry/coth/scotha.c
+++ b/src/c/elementaryFunctions/Trigonometry/coth/scotha.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 "coth.h"
#include <math.h>
@@ -8,7 +20,6 @@ void scotha(float* in,int size,float* out)
for(i=0;i<size;i++)
{
out[i]=cosh(in[i])/sinh(in[i]);
- /*printf("The cotangent of %lf is %lf\n", in[i], out[i]);*/
- }
+ }
}