diff options
author | imushir | 2015-12-29 12:21:00 +0530 |
---|---|---|
committer | imushir | 2015-12-29 12:21:00 +0530 |
commit | 7382a75d68141d72562f219a839543c9c6fc83aa (patch) | |
tree | 3fee7fd1f9a4557a23c3e11f0e80be9872edc68a /src/c/matrixOperations/magnitude/i16magns.c | |
parent | adee9863483df64816970dc3a4b6ea6e85f40610 (diff) | |
download | Scilab2C_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/i16magns.c')
-rw-r--r-- | src/c/matrixOperations/magnitude/i16magns.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/c/matrixOperations/magnitude/i16magns.c b/src/c/matrixOperations/magnitude/i16magns.c new file mode 100644 index 0000000..d5deb28 --- /dev/null +++ b/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); +} + + |