summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/includes
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/includes
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/includes')
-rw-r--r--src/c/matrixOperations/includes/matrixMagnitude.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/c/matrixOperations/includes/matrixMagnitude.h b/src/c/matrixOperations/includes/matrixMagnitude.h
index 7b65c6d..a9f4e71 100644
--- a/src/c/matrixOperations/includes/matrixMagnitude.h
+++ b/src/c/matrixOperations/includes/matrixMagnitude.h
@@ -17,6 +17,7 @@
#include "dynlib_matrixoperations.h"
#include "floatComplex.h"
#include "doubleComplex.h"
+#include "types.h"
#ifdef __cplusplus
extern "C" {
@@ -34,6 +35,18 @@ EXTERN_MATOPS float cmagna(floatComplex* in, int rows, int cols);
EXTERN_MATOPS double zmagns(doubleComplex in);
EXTERN_MATOPS double zmagna(doubleComplex* in, int rows, int cols);
+EXTERN_MATOPS uint8 u8magns(uint8 in);
+EXTERN_MATOPS uint8 u8magna(uint8* in, int rows, int cols);
+
+EXTERN_MATOPS uint16 u16magns(uint16 in);
+EXTERN_MATOPS uint16 u16magna(uint16* in, int rows, int cols);
+
+EXTERN_MATOPS int8 i8magns(int8 in);
+EXTERN_MATOPS int8 i8magna(int8* in, int rows, int cols);
+
+EXTERN_MATOPS int16 i16magns(int16 in);
+EXTERN_MATOPS int16 i16magna(int16* in, int rows, int cols);
+
#ifdef __cplusplus
} /* extern "C" */
#endif