diff options
-rw-r--r-- | src/matrixOperations/Makefile.am | 3 | ||||
-rw-r--r-- | src/matrixOperations/Makefile.in | 3 | ||||
-rw-r--r-- | src/matrixOperations/includes/matrixDivision.h | 60 | ||||
-rw-r--r-- | src/matrixOperations/includes/matrixTranspose.h | 28 |
4 files changed, 92 insertions, 2 deletions
diff --git a/src/matrixOperations/Makefile.am b/src/matrixOperations/Makefile.am index 6c3a6059..02c32d91 100644 --- a/src/matrixOperations/Makefile.am +++ b/src/matrixOperations/Makefile.am @@ -13,5 +13,6 @@ SUBDIRS= addition \ subtraction \ multiplication \ - cat + cat \ + transpose diff --git a/src/matrixOperations/Makefile.in b/src/matrixOperations/Makefile.in index b8914efa..14195181 100644 --- a/src/matrixOperations/Makefile.in +++ b/src/matrixOperations/Makefile.in @@ -168,7 +168,8 @@ top_srcdir = @top_srcdir@ SUBDIRS = addition \ subtraction \ multiplication \ - cat + cat \ + transpose all: all-recursive diff --git a/src/matrixOperations/includes/matrixDivision.h b/src/matrixOperations/includes/matrixDivision.h index e69de29b..59c08c80 100644 --- a/src/matrixOperations/includes/matrixDivision.h +++ b/src/matrixOperations/includes/matrixDivision.h @@ -0,0 +1,60 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Allan SIMON + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#ifndef __MATRIXDIVISION_H__ +#define __MATRIXDIVISION_H__ + +#include "floatComplex.h" +#include "doubleComplex.h" + +void srdiva ( float * in1, int it1, + float * in2, int it2, + float *out, int itOut, int size)) ; + +void sldiva ( float * in1, int it1, + float * in2, int it2, + float * out, int itOut, int size)) ; + + + + +void drdiva ( double * in1, int it1, + double * in2, int it2, + double * out, int itOut, int size)) ; + +void dldiva ( double * in1, int it1, + double * in2, int it2, + double * out, int itOut, int size)) ; + + + + +void crdiva ( floatComplex * in1, int it1, + floatComplex * in2, int it2, + floatComplex * out, int itOut, int size)) ; + + +void cldiva ( floatComplex * in1, int it1, + floatComplex * in2, int it2, + floatComplex * out, int itOut, int size)) ; + + + +void zrdiva ( doubleComplex * in1, int it1, + doubleComplex * in2, int it2, + doubleComplex * out, int itOut, int size)) ; + +void zldiva ( doubleComplex * in1, int it1, + doubleComplex * in2, int it2, + doubleComplex * out, int itOut, int size)) ; + +#endif /* !__MATRIXDIVISION_H__ */ diff --git a/src/matrixOperations/includes/matrixTranspose.h b/src/matrixOperations/includes/matrixTranspose.h new file mode 100644 index 00000000..df160db5 --- /dev/null +++ b/src/matrixOperations/includes/matrixTranspose.h @@ -0,0 +1,28 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Allan SIMON + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#ifndef __MATRIXTRANSPOSE_H__ +#define __MATRIXTRANSPOSE_H__ + +#include "floatComplex.h" +#include "doubleComplex.h" +#include <math.h> + +void stransposea ( float* in , int lines1 , int column1, float* out ); + +void dtransposea ( double* in , int lines1 , int column1, double* out ); + +void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* out ); + +void ztransposea ( doubleComplex* in , int lines1 , int column1, doubleComplex* out ); + +#endif /* !__MATRIXTRANSPOSE_H__ */ |