summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/includes
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/includes
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/includes')
-rw-r--r--2.3-1/src/c/matrixOperations/includes/matrixMagnitude.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/2.3-1/src/c/matrixOperations/includes/matrixMagnitude.h b/2.3-1/src/c/matrixOperations/includes/matrixMagnitude.h
index 7b65c6d9..a9f4e71c 100644
--- a/2.3-1/src/c/matrixOperations/includes/matrixMagnitude.h
+++ b/2.3-1/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