summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/magnitude/i16magns.c
diff options
context:
space:
mode:
authorimushir2015-12-29 12:21:00 +0530
committerimushir2015-12-29 12:21:00 +0530
commit03a27e6884942182e984433fd2ebba7e5f55a4d9 (patch)
treeb4148cc669bb596ab1c9e5f30740a2adcf9efb79 /2.3-1/src/c/matrixOperations/magnitude/i16magns.c
parent9cca024b567957a3c0829b527b5c7815d46ea787 (diff)
downloadScilab2C-03a27e6884942182e984433fd2ebba7e5f55a4d9.tar.gz
Scilab2C-03a27e6884942182e984433fd2ebba7e5f55a4d9.tar.bz2
Scilab2C-03a27e6884942182e984433fd2ebba7e5f55a4d9.zip
added support for magnitude
Diffstat (limited to '2.3-1/src/c/matrixOperations/magnitude/i16magns.c')
-rw-r--r--2.3-1/src/c/matrixOperations/magnitude/i16magns.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/2.3-1/src/c/matrixOperations/magnitude/i16magns.c b/2.3-1/src/c/matrixOperations/magnitude/i16magns.c
new file mode 100644
index 00000000..d5deb28a
--- /dev/null
+++ b/2.3-1/src/c/matrixOperations/magnitude/i16magns.c
@@ -0,0 +1,13 @@
+
+/* SCilab2C FOSSEE IIT BOMBAY */
+
+
+
+#include "matrixMagnitude.h"
+#include "abs.h"
+
+int16 i16magns(int16 in){
+ return i16abss(in);
+}
+
+