summaryrefslogtreecommitdiff
path: root/src/c/operations/includes/multiplication.h
diff options
context:
space:
mode:
authorimushir2015-11-27 15:47:47 +0530
committerimushir2015-11-27 15:47:47 +0530
commit1247157de6d55146f6c544bd47c21a5326a64725 (patch)
tree39b8dea98556249d5e2b8f20966e08dfe5f90d03 /src/c/operations/includes/multiplication.h
parent99e622d9b7c559a414270388d990bc19075b0a2f (diff)
downloadScilab2C_fossee_old-1247157de6d55146f6c544bd47c21a5326a64725.tar.gz
Scilab2C_fossee_old-1247157de6d55146f6c544bd47c21a5326a64725.tar.bz2
Scilab2C_fossee_old-1247157de6d55146f6c544bd47c21a5326a64725.zip
#define for u8 u16 i8 i16 added
Diffstat (limited to 'src/c/operations/includes/multiplication.h')
-rw-r--r--src/c/operations/includes/multiplication.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/c/operations/includes/multiplication.h b/src/c/operations/includes/multiplication.h
index 8b08d6d..32ea932 100644
--- a/src/c/operations/includes/multiplication.h
+++ b/src/c/operations/includes/multiplication.h
@@ -142,6 +142,15 @@ EXTERN_OPERATIONS doubleComplex zmulzdv(doubleComplex *in1, double *in2, int siz
EXTERN_OPERATIONS doubleComplex zmuldzv(double *in1, doubleComplex *in2, int size2);
/*
+** \brief Compute a multiplication element ways for uint8.
+** \param in1 : input array.
+** \param in2 : input array.
+** \param size : size of in2 array.
+** \param out : array that contains the multiplication = in1 .* in2.
+*/
+EXTERN_OPERATIONS void u8mula(uint8 *in1, uint8 *in2, int size,uint8 * out);
+
+/*
** \brief Compute a multiplication with uint8.
** \param in1 : input uint8.
** \param in2 : input uint8.
@@ -159,6 +168,15 @@ EXTERN_OPERATIONS uint8 u8muls(uint8 in1, uint8 in2);
EXTERN_OPERATIONS uint8 u8mulv(uint8 *in1, uint8 *in2, int size2);
/*
+** \brief Compute a multiplication element ways for int8.
+** \param in1 : input array.
+** \param in2 : input array.
+** \param size : size of in2 array.
+** \param out : array that contains the multiplication = in1 .* in2.
+*/
+EXTERN_OPERATIONS void i8mula(int8 *in1, int8 *in2, int size,int8 * out);
+
+/*
** \brief Compute a multiplication with int8.
** \param in1 : input int8.
** \param in2 : input int8.
@@ -176,6 +194,15 @@ EXTERN_OPERATIONS int8 i8muls(int8 in1, int8 in2);
EXTERN_OPERATIONS int8 i8mulv(int8 *in1, int8 *in2, int size2);
/*
+** \brief Compute a multiplication element ways for uint16.
+** \param in1 : input array.
+** \param in2 : input array.
+** \param size : size of in2 array.
+** \param out : array that contains the multiplication = in1 .* in2.
+*/
+EXTERN_OPERATIONS void u16mula(uint16 *in1, uint16 *in2, int size,uint16 * out);
+
+/*
** \brief Compute a multiplication with uint16.
** \param in1 : input uint16.
** \param in2 : input uint16.
@@ -193,6 +220,15 @@ EXTERN_OPERATIONS uint16 u16muls(uint16 in1, uint16 in2);
EXTERN_OPERATIONS uint16 u16mulv(uint16 *in1, uint16 *in2, int size2);
/*
+** \brief Compute a multiplication element ways for int16.
+** \param in1 : input array.
+** \param in2 : input array.
+** \param size : size of in2 array.
+** \param out : array that contains the multiplication = in1 .* in2.
+*/
+EXTERN_OPERATIONS void i16mula(int16 *in1, int16 *in2, int size,int16 * out);
+
+/*
** \brief Compute a multiplication with int16.
** \param in1 : input int16.
** \param in2 : input int16.