diff options
author | Brijeshcr | 2017-08-08 18:55:55 +0530 |
---|---|---|
committer | Brijeshcr | 2017-08-08 18:55:55 +0530 |
commit | 60dc24077bf42ddf1b8973915350dfabdf5b040a (patch) | |
tree | 686fbd12c59335059a1c9cd5136428ba6e3f6126 /2.3-1/src/c/elementaryFunctions/tand/dtanda.c | |
parent | 3633223e4816948c61e107f4fb18eb193c0add27 (diff) | |
download | Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.gz Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.tar.bz2 Scilab2C-60dc24077bf42ddf1b8973915350dfabdf5b040a.zip |
Added Sind and Tand
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/tand/dtanda.c')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/tand/dtanda.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/tand/dtanda.c b/2.3-1/src/c/elementaryFunctions/tand/dtanda.c new file mode 100644 index 00000000..e5d56a87 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/tand/dtanda.c @@ -0,0 +1,19 @@ +/* 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: Brijesh Gupta C R + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ +#include "tand.h" + +void dtanda(double* x, int size, double* y) { + int i = 0; + for (i = 0; i < size; ++i) { + y[i] = dtands(x[i]); + } +} |