summaryrefslogtreecommitdiff
path: root/src/matrixOperations/includes/matrixTranspose.h
diff options
context:
space:
mode:
authorcornet2009-04-22 05:54:43 +0000
committercornet2009-04-22 05:54:43 +0000
commit879e2ac0a540fa1b199e20d47830aa5eea484a4c (patch)
tree69ef4242aa8ce27332dec2a27f4e7f10a6f9e8fb /src/matrixOperations/includes/matrixTranspose.h
parent1811fe5588d0cfbb788ab8f477800af3f45dd710 (diff)
downloadscilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.gz
scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.tar.bz2
scilab2c-879e2ac0a540fa1b199e20d47830aa5eea484a4c.zip
build with visual studio (dynamic libraries)
Diffstat (limited to 'src/matrixOperations/includes/matrixTranspose.h')
-rw-r--r--src/matrixOperations/includes/matrixTranspose.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/matrixOperations/includes/matrixTranspose.h b/src/matrixOperations/includes/matrixTranspose.h
index 429e8303..122b618d 100644
--- a/src/matrixOperations/includes/matrixTranspose.h
+++ b/src/matrixOperations/includes/matrixTranspose.h
@@ -13,9 +13,14 @@
#ifndef __MATRIXTRANSPOSE_H__
#define __MATRIXTRANSPOSE_H__
+#include "dynlib_matrixoperations.h"
#include "floatComplex.h"
#include "doubleComplex.h"
#include <math.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
** \brief Compute the transpose of a float matrix.
** \param in : input matrix.
@@ -23,7 +28,7 @@
** \param column1 : number of column1
** \param out : the transposed float matrix.
*/
-void stransposea ( float* in , int lines1 , int column1, float* out );
+EXTERN_MATOPS void stransposea ( float* in , int lines1 , int column1, float* out );
/*
** \brief Compute the transpose of a double matrix.
** \param in : input matrix.
@@ -31,7 +36,7 @@ void stransposea ( float* in , int lines1 , int column1, float* out );
** \param column1 : number of column1
** \param out : the transposed double matrix.
*/
-void dtransposea ( double* in , int lines1 , int column1, double* out );
+EXTERN_MATOPS void dtransposea ( double* in , int lines1 , int column1, double* out );
/*
** \brief Compute the transpose of a float complex matrix.
** \param in : input matrix.
@@ -39,7 +44,7 @@ void dtransposea ( double* in , int lines1 , int column1, double* out );
** \param column1 : number of column1
** \param out : the transposed float complex matrix.
*/
-void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* out );
+EXTERN_MATOPS void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* out );
/*
** \brief Compute the transpose of a double complex matrix.
** \param in : input matrix.
@@ -47,6 +52,10 @@ void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* ou
** \param column1 : number of column1
** \param out : the transposed double complex matrix.
*/
-void ztransposea ( doubleComplex* in , int lines1 , int column1, doubleComplex* out );
+EXTERN_MATOPS void ztransposea ( doubleComplex* in , int lines1 , int column1, doubleComplex* out );
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
#endif /* !__MATRIXTRANSPOSE_H__ */