diff options
Diffstat (limited to 'src/matrixOperations/includes/infiniteNorm.h')
-rw-r--r-- | src/matrixOperations/includes/infiniteNorm.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/matrixOperations/includes/infiniteNorm.h b/src/matrixOperations/includes/infiniteNorm.h index 0a0d3382..130cfeaf 100644 --- a/src/matrixOperations/includes/infiniteNorm.h +++ b/src/matrixOperations/includes/infiniteNorm.h @@ -13,11 +13,16 @@ #ifndef __INFINITENORM_H__ #define __INFINITENORM_H__ +#include "dynlib_matrixoperations.h" #include "sign.h" #include "pythag.h" #include "floatComplex.h" #include "doubleComplex.h" +#ifdef __cplusplus +extern "C" { +#endif + /* ** \brief Compute the infinite norm of a given floats matrix. ** \param in : input matrix. @@ -25,7 +30,7 @@ ** \param _iCols : number of columns of the matrix . */ -float sinfnorma(float* in, int _iRows, int _iCols); +EXTERN_MATOPS float sinfnorma(float* in, int _iRows, int _iCols); /* ** \brief Compute the infinite norm of a given doubles matrix. @@ -34,7 +39,7 @@ float sinfnorma(float* in, int _iRows, int _iCols); ** \param out : the matrix inverse of the input . */ -double dinfnorma(double* in, int _iRows, int _iCols); +EXTERN_MATOPS double dinfnorma(double* in, int _iRows, int _iCols); /* ** \brief Compute the infinite norm of a given complex floats matrix. @@ -43,7 +48,7 @@ double dinfnorma(double* in, int _iRows, int _iCols); ** \param _iCols : number of columns of the matrix . */ -float cinfnorma(floatComplex* in, int _iRows, int _iCols); +EXTERN_MATOPS float cinfnorma(floatComplex* in, int _iRows, int _iCols); /* ** \brief Compute the infinite norm of a given complex doubles matrix. @@ -52,9 +57,11 @@ float cinfnorma(floatComplex* in, int _iRows, int _iCols); ** \param _iCols : number of columns of the matrix . */ -double zinfnorma(doubleComplex* in, int _iRows, int _iCols); - +EXTERN_MATOPS double zinfnorma(doubleComplex* in, int _iRows, int _iCols); +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* !__INFINITENORM_H__ */ |