summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c')
-rw-r--r--2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c b/2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c
index fd5a1e11..fbdf0f50 100644
--- a/2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c
+++ b/2.3-1/src/c/elementaryFunctions/Trigonometry/cotd/scotda.c
@@ -1,9 +1,20 @@
+/* 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 "cotd.h"
void scotda(float* in, int size, float* out) {
int i = 0;
for (i = 0; i < size; ++i) {
- out[i] = scosds(in[i]);
+ out[i] = scotds(in[i]);
}
}