diff options
Diffstat (limited to 'src/matrixOperations/includes')
-rw-r--r-- | src/matrixOperations/includes/hilbert.h | 3 | ||||
-rw-r--r-- | src/matrixOperations/includes/infiniteNorm.h | 32 | ||||
-rw-r--r-- | src/matrixOperations/includes/matrixDivision.h | 6 | ||||
-rw-r--r-- | src/matrixOperations/includes/matrixExponential.h | 43 | ||||
-rw-r--r-- | src/matrixOperations/includes/matrixEyes.h | 30 |
5 files changed, 110 insertions, 4 deletions
diff --git a/src/matrixOperations/includes/hilbert.h b/src/matrixOperations/includes/hilbert.h index 8e4e857b..11c4f6bd 100644 --- a/src/matrixOperations/includes/hilbert.h +++ b/src/matrixOperations/includes/hilbert.h @@ -13,6 +13,8 @@ #ifndef __HILBERT_H__ #define __HILBERT_H__ +#include "floatComplex.h" +#include "doubleComplex.h" #include <math.h> /* ** generate an Hilbert's matrix @@ -32,3 +34,4 @@ void shilba ( float* out, int size) ; void dhilba ( double* out, int size ) ; #endif /* !__HILBERT_H__ */ + diff --git a/src/matrixOperations/includes/infiniteNorm.h b/src/matrixOperations/includes/infiniteNorm.h new file mode 100644 index 00000000..61518e47 --- /dev/null +++ b/src/matrixOperations/includes/infiniteNorm.h @@ -0,0 +1,32 @@ +/* + * 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 __INFINITENORM_H__ +#define __INFINITENORM_H__ + +#include "sign.h" +#include "pythag.h" +#include "floatComplex.h" +#include "doubleComplex.h" + +float sinfnorma(float* in, int _iRows, int _iCols); + +double dinfnorma(double* in, int _iRows, int _iCols); + +float cinfnorma(floatComplex* in, int _iRows, int _iCols); + +double zinfnorma(doubleComplex* in, int _iRows, int _iCols); + + + +#endif /* !__INFINITENORM_H__ */ + diff --git a/src/matrixOperations/includes/matrixDivision.h b/src/matrixOperations/includes/matrixDivision.h index 2100092e..38fc9634 100644 --- a/src/matrixOperations/includes/matrixDivision.h +++ b/src/matrixOperations/includes/matrixDivision.h @@ -19,6 +19,8 @@ #include "cat.h" #include "matrixTranspose.h" #include "conj.h" +#include "min.h" +#include "max.h" void srdiva ( float* in1, int lines1, int columns1 , @@ -47,10 +49,6 @@ void zldiva( doubleComplex* in1, int lines1, int columns1 , doubleComplex* in2, int lines2, int columns2 , doubleComplex* out ); -int Min(int _dblVar1, int _dblVar2); -int Max(int _dblVar1, int _dblVar2); - - void crdiva( floatComplex* in1, int lines1, int columns1 , floatComplex* in2, int lines2, int columns2 , floatComplex* out ); diff --git a/src/matrixOperations/includes/matrixExponential.h b/src/matrixOperations/includes/matrixExponential.h new file mode 100644 index 00000000..6e11649b --- /dev/null +++ b/src/matrixOperations/includes/matrixExponential.h @@ -0,0 +1,43 @@ +/* + * 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 __MATRIXEXPONENTIAL_H__ +#define __MATRIXEXPONENTIAL_H__ + +#include <math.h> +#include "lapack.h" +#include "blas.h" +#include <stdlib.h> +#include "abs.h" +#include "exp.h" +#include "max.h" +#include "pow.h" +#include "matrixDivision.h" +#include "matrixMultiplication.h" +#include "matrixAddition.h" +#include "matrixSubtraction.h" +#include "matrixEyes.h" +#include "infiniteNorm.h" +#include "frexp.h" + + +void sexpma (float* in, float* out, int _iLeadDim); + +void dexpma (double* in, double* out, int _iLeadDim); + +void cexpma(floatComplex * in, floatComplex * out, int _iLeadDim); + +void zexpma (doubleComplex * in, doubleComplex * out, int _iLeadDim); + + +#endif /* !__MATRIXEXPONENTIAL_H__ */ + diff --git a/src/matrixOperations/includes/matrixEyes.h b/src/matrixOperations/includes/matrixEyes.h new file mode 100644 index 00000000..af10010d --- /dev/null +++ b/src/matrixOperations/includes/matrixEyes.h @@ -0,0 +1,30 @@ +/* + * 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 __MATRIXEYES_H__ +#define __MATRIXEYES_H__ + +#include "floatComplex.h" +#include "doubleComplex.h" + +void seyesa(float* in, int _iRows, int _iCols); + +void deyesa(double* in, int _iRows, int _iCols); + +void ceyesa(floatComplex* in, int _iRows, int _iCols); + +void zeyesa(doubleComplex* in, int _iRows, int _iCols); + + + +#endif /* !__MATRIXEYES_H__ */ + |