summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/magnitude/i8magns.c
diff options
context:
space:
mode:
authorimushir2015-12-29 12:21:00 +0530
committerimushir2015-12-29 12:21:00 +0530
commit7382a75d68141d72562f219a839543c9c6fc83aa (patch)
tree3fee7fd1f9a4557a23c3e11f0e80be9872edc68a /src/c/matrixOperations/magnitude/i8magns.c
parentadee9863483df64816970dc3a4b6ea6e85f40610 (diff)
downloadScilab2C_fossee_old-7382a75d68141d72562f219a839543c9c6fc83aa.tar.gz
Scilab2C_fossee_old-7382a75d68141d72562f219a839543c9c6fc83aa.tar.bz2
Scilab2C_fossee_old-7382a75d68141d72562f219a839543c9c6fc83aa.zip
added support for magnitude
Diffstat (limited to 'src/c/matrixOperations/magnitude/i8magns.c')
-rw-r--r--src/c/matrixOperations/magnitude/i8magns.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/c/matrixOperations/magnitude/i8magns.c b/src/c/matrixOperations/magnitude/i8magns.c
new file mode 100644
index 0000000..1703505
--- /dev/null
+++ b/src/c/matrixOperations/magnitude/i8magns.c
@@ -0,0 +1,13 @@
+
+/* SCilab2C FOSSEE IIT BOMBAY */
+
+
+
+#include "matrixMagnitude.h"
+#include "abs.h"
+
+int8 i8magns(int8 in){
+ return i8abss(in);
+}
+
+