GPL + CeCILL Header change
[scilab.git] / scilab / modules / linear_algebra / includes / gw_linear_algebra.h
1
2 /*
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2006-2008 - INRIA - Allan CORNET - <allan.cornet@inria.fr>
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  * === LICENSE_END ===
15  *
16  */
17
18 #ifndef __GW_LINEAR_ALGEBRA__
19 #define __GW_LINEAR_ALGEBRA__
20 #include "dynlib_linear_algebra.h"
21 #include "machine.h"
22 /*--------------------------------------------------------------------------*/
23 #define SCI_DOUBLE 1
24 #define STRING  10
25 #define REAL 0
26 #define COMPLEX 1
27 #define FUNCTION 13
28 #define STRINGREAL 27
29 #define STRINGCOMPLEX 12
30 #define YES 1
31 #define NO 0
32 /*--------------------------------------------------------------------------*/
33 LINEAR_ALGEBRA_IMPEXP int gw_linear_algebra(void);
34 /*--------------------------------------------------------------------------*/
35 //LINEAR_ALGEBRA_IMPEXP int C2F(intbackslash)(char *fname, unsigned long fname_len);
36 //LINEAR_ALGEBRA_IMPEXP int C2F(invnew)(char *fname, unsigned long fname_len);
37 //LINEAR_ALGEBRA_IMPEXP int C2F(intslash)(char *fname, unsigned long fname_len);
38 int sci_norm(char *fname, void* pvApiCtx);
39 /*--------------------------------------------------------------------------*/
40 ///* used in 'eig' */
41 //LINEAR_ALGEBRA_IMPEXP int sci_dsyev(char *fname, unsigned long fname_len);
42 //LINEAR_ALGEBRA_IMPEXP int sci_dgeev(char *fname, unsigned long fname_len);
43 //LINEAR_ALGEBRA_IMPEXP int sci_zgeev(char *fname, unsigned long fname_len);
44 //LINEAR_ALGEBRA_IMPEXP int sci_zheev(char *fname, unsigned long fname_len);
45 //LINEAR_ALGEBRA_IMPEXP int sci_dggev(char *fname, unsigned long fname_len);
46 //LINEAR_ALGEBRA_IMPEXP int sci_zggev(char *fname, unsigned long fname_len);
47 /*--------------------------------------------------------------------------*/
48 //LINEAR_ALGEBRA_IMPEXP int C2F(intschur)(char *fname, unsigned long fname_len); => C++ sci_schur
49
50 //Scilab 6
51 //LINEAR_ALGEBRA_IMPEXP int sci_chol(char *fname, void* pvApiCtx); => C++
52 //LINEAR_ALGEBRA_IMPEXP int sci_bdiagr(char *fname, void* pvApiCtx); => C++ => sci_bdiag
53 //LINEAR_ALGEBRA_IMPEXP int sci_svd(char *fname, void* pvApiCtx); => C++
54 //LINEAR_ALGEBRA_IMPEXP int sci_rcond(char *fname, void* pvApiCtx); => C++
55 //LINEAR_ALGEBRA_IMPEXP int sci_qr(char *fname, void* pvApiCtx); => C++
56 //LINEAR_ALGEBRA_IMPEXP int sci_lu(char *fname, void* pvApiCtx); => C++
57 //LINEAR_ALGEBRA_IMPEXP int sci_lsq(char *fname, void* pvApiCtx); => C++
58 //LINEAR_ALGEBRA_IMPEXP int sci_inv(char *fname, void* pvApiCtx); => C++
59 //LINEAR_ALGEBRA_IMPEXP int sci_hess(char *fname, void* pvApiCtx); => C++
60 //LINEAR_ALGEBRA_IMPEXP int sci_eig(char *fname, void* pvApiCtx); => C++ sci_spec
61 //LINEAR_ALGEBRA_IMPEXP int sci_det(char *fname, void* pvApiCtx); => C++
62 //LINEAR_ALGEBRA_IMPEXP int sci_balanc(char *fname, void* pvApiCtx); => C++
63 /*--------------------------------------------------------------------------*/
64 #endif /*  __GW_LINEAR_ALGEBRA__ */
65 /*--------------------------------------------------------------------------*/
66