2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2008-2008 - DIGITEO - Antoine ELIAS
5 * Copyright (C) 2012 - 2016 - Scilab Enterprises
7 * This file is hereby licensed under the terms of the GNU GPL v2.0,
8 * pursuant to article 5.3.4 of the CeCILL v.2.1.
9 * This file was originally licensed under the terms of the CeCILL v2.1,
10 * and continues to be available under such terms.
11 * For more information, see the COPYING file which you should have received
12 * along with this program.
17 #ifndef __TRANSPOSE_H__
18 #define __TRANSPOSE_H__
20 #include "doublecomplex.h"
22 #include "dynlib_ast.h"
24 EXTERN_AST void vTransposeRealMatrix(
26 int _iRowsIn, int _iColsIn,
27 double *_pdblRealOut);
29 EXTERN_AST void vTransposeComplexMatrix(
30 double *_pdblRealIn, double *_pdblImgIn,
31 int _iRowsIn, int _iColsIn,
32 double *_pdblRealOut, double *_pdblImgOut, int _iConjugate);
34 EXTERN_AST void vTransposeDoubleComplexMatrix(
36 int _iRowsIn, int _iColsIn,
37 doublecomplex *_poOut, int _iConjugate);
39 EXTERN_AST void vPretransposeRealMatrix(
41 int _iRowsIn, int _iColsIn,
42 double *_pdblRealOut);
44 EXTERN_AST void vPretransposeComplexMatrix(
45 double *_pdblRealIn, double *_pdblImgIn,
46 int _iRowsIn, int _iColsIn,
47 double *_pdblRealOut, double *_pdblImgOut);
49 #endif /* __TRANSPOSE_H__ */