summaryrefslogtreecommitdiff
path: root/src/operations/includes
diff options
context:
space:
mode:
authortorset2008-12-04 08:45:58 +0000
committertorset2008-12-04 08:45:58 +0000
commite72c55651853c1dcce6c386d8d02d4a8f1988c1f (patch)
tree413420edcc0b90caeeb61c8b815c62125a8812a7 /src/operations/includes
parent1b9528344df6c0046826b2758a07d6c68bb0b575 (diff)
downloadscilab2c-e72c55651853c1dcce6c386d8d02d4a8f1988c1f.tar.gz
scilab2c-e72c55651853c1dcce6c386d8d02d4a8f1988c1f.tar.bz2
scilab2c-e72c55651853c1dcce6c386d8d02d4a8f1988c1f.zip
Changes prototypes for the multiplication element by element
Diffstat (limited to 'src/operations/includes')
-rw-r--r--src/operations/includes/multiplication.h28
1 files changed, 8 insertions, 20 deletions
diff --git a/src/operations/includes/multiplication.h b/src/operations/includes/multiplication.h
index 4e55c125..04e5c1d7 100644
--- a/src/operations/includes/multiplication.h
+++ b/src/operations/includes/multiplication.h
@@ -34,14 +34,11 @@ float smuls(float in1, float in2);
/*
** \brief Compute a multiplication element ways for floats.
** \param in1 : input array.
-** \param size1 : size of in1 array.
** \param in2 : input arry.
-** \param size2 : size of in2 array.
+** \param size : size of in2 array.
** \param out : array that contains the multiplication = in1 .* in2.
*/
-void smula(float *in1, int size1,
- float *in2, int size2,
- float *out);
+void smula(float *in1, float *in2, int size2, float *out);
/*
** \brief Compute a multiplication with double.
@@ -54,14 +51,11 @@ double dmuls(double in1, double in2);
/*
** \brief Compute a multiplication element ways for double.
** \param in1 : input array.
-** \param size1 : size of in1 array.
** \param in2 : input arry.
-** \param size2 : size of in2 array.
+** \param size : size of in2 array.
** \param out : array that contains the multiplication = in1 .* in2.
*/
-void dmula(double *in1, int size1,
- double *in2, int size2,
- double * out);
+void dmula(double *in1, double *in2, int size,double * out);
/*
** \brief Compute a multiplication with floats Complex.
@@ -74,14 +68,11 @@ floatComplex cmuls(floatComplex in1, floatComplex in2);
/*
** \brief Compute a multiplication element ways for complex single precision.
** \param in1 : input array.
-** \param size1 : size of in1 array.
** \param in2 : input arry.
-** \param size2 : size of in2 array.
+** \param size : size of in2 array.
** \param out : array that contains the multiplication = in1 .* in2.
*/
-void cmula(floatComplex *in1, int size1,
- floatComplex *in2, int size2,
- floatComplex *out);
+void cmula(floatComplex *in1, floatComplex *in2, int size, floatComplex *out);
/*
** \brief Compute a multiplication with double complex.
@@ -94,14 +85,11 @@ doubleComplex zmuls(doubleComplex in1, doubleComplex in2);
/*
** \brief Compute a multiplication element ways for complex double precision.
** \param in1 : input array.
-** \param size1 : size of in1 array.
** \param in2 : input arry.
-** \param size2 : size of in2 array.
+** \param size: size of in2 array.
** \param out : array that contains the multiplication = in1 .* in2.
*/
-void zmula(doubleComplex *in1, int size1,
- doubleComplex *in2, int size2,
- doubleComplex *out);
+void zmula(doubleComplex *in1, doubleComplex *in2, int size, doubleComplex *out);
/*