diff options
author | Siddhesh Wani | 2017-05-04 16:15:18 +0530 |
---|---|---|
committer | Siddhesh Wani | 2017-05-04 16:15:18 +0530 |
commit | de82d12658979cd70439f977742f80fac9f6521f (patch) | |
tree | eff661402e749b2402f5576271aefddd42be23fe /2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c | |
parent | 472b2e7ebbd2d8b3ecd00b228128aa8a0bd3f920 (diff) | |
download | Scilab2C-de82d12658979cd70439f977742f80fac9f6521f.tar.gz Scilab2C-de82d12658979cd70439f977742f80fac9f6521f.tar.bz2 Scilab2C-de82d12658979cd70439f977742f80fac9f6521f.zip |
Basic functions and image processing working with MSVC on windows x64
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c index f6304f58..bb54b200 100644 --- a/2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c +++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c @@ -1,14 +1,24 @@ +/* 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> void dcotha(double* in,int size,double* out) { - double val; int i=0; 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]);*/ } } |