CXXR (C++ R) API
Linpack.h
1 /*CXXR $Id: Linpack.h 1348 2013-02-25 17:49:03Z arr $
2  *CXXR
3  *CXXR This file is part of CXXR, a project to refactor the R interpreter
4  *CXXR into C++. It may consist in whole or in part of program code and
5  *CXXR documentation taken from the R project itself, incorporated into
6  *CXXR CXXR (and possibly MODIFIED) under the terms of the GNU General Public
7  *CXXR Licence.
8  *CXXR
9  *CXXR CXXR is Copyright (C) 2008-13 Andrew R. Runnalls, subject to such other
10  *CXXR copyrights and copyright restrictions as may be stated below.
11  *CXXR
12  *CXXR CXXR is not part of the R project, and bugs and other issues should
13  *CXXR not be reported via r-bugs or other R project channels; instead refer
14  *CXXR to the CXXR website.
15  *CXXR */
16 
17 /*
18  * R : A Computer Language for Statistical Data Analysis
19  * Copyright (C) 1997 Robert Gentleman and Ross Ihaka
20  * Copyright (C) 1999-2002 The R Core Team.
21  *
22  * This program is free software; you can redistribute it and/or modify
23  * it under the terms of the GNU Lesser General Public License as published by
24  * the Free Software Foundation; either version 2.1 of the License, or
25  * (at your option) any later version.
26  *
27  * This program is distributed in the hope that it will be useful,
28  * but WITHOUT ANY WARRANTY; without even the implied warranty of
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30  * GNU Lesser General Public License for more details.
31  *
32  * You should have received a copy of the GNU Lesser General Public License
33  * along with this program; if not, a copy is available at
34  * http://www.r-project.org/Licenses/
35  */
36 #ifndef R_LINPACK_H_
37 #define R_LINPACK_H_
38 
39 #include <R_ext/RS.h> /* for F77_... */
40 #include <R_ext/BLAS.h>
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46  /* Double Precision Linpack */
47 
48 extern void F77_NAME(dchdc)(double*, int*, int*, double*, int*, int*, int*);
49 extern void F77_NAME(dpbfa)(double*, int*, int*, int*, int*);
50 extern void F77_NAME(dpbsl)(double*, int*, int*, int*, double*);
51 extern void F77_NAME(dpoco)(double*, int*, int*, double*, double*, int*);
52 extern void F77_NAME(dpodi)(double*, int*, int*, double*, int*);
53 extern void F77_NAME(dpofa)(double*, int*, int*, int*);
54 extern void F77_NAME(dposl)(double*, int*, int*, double*);
55 extern void F77_NAME(dqrdc)(double*, int*, int*, int*, double*, int*, double*, int*);
56 extern void F77_NAME(dqrsl)(double*, int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, int*, int*);
57 extern void F77_NAME(dsvdc)(double*, int*, int*, int*, double*, double*, double*, int*, double*, int*, double*, int*, int*);
58 extern void F77_NAME(dtrco)(double*, int*, int*, double*, double*, int*);
59 extern void F77_NAME(dtrsl)(double*, int*, int*, double*, int*, int*);
60 
61 
62 /* The following routines are listed as they have always been declared
63  here, but they are not currently included in R */
64 extern void F77_NAME(dchdc)(double*, int*, int*, double*, int*, int*, int*);
65 extern void F77_NAME(dchdd)(double*, int*, int*, double*, double*, int*, int*, double*, double*, double*, double*, int*);
66 extern void F77_NAME(dchex)(double*, int*, int*, int*, int*, double*, int*, int*, double*, double*, int*);
67 extern void F77_NAME(dchud)(double*, int*, int*, double*, double*, int*, int*, double*, double*, double*, double*);
68 extern void F77_NAME(dgbco)(double*, int*, int*, int*, int*, int*, double*, double*);
69 extern void F77_NAME(dgbdi)(double*, int*, int*, int*, int*, int*, double*);
70 extern void F77_NAME(dgbfa)(double*, int*, int*, int*, int*, int*, int*);
71 extern void F77_NAME(dgbsl)(double*, int*, int*, int*, int*, int*, double*, int*);
72 extern void F77_NAME(dgeco)(double*, int*, int*, int*, double*, double*);
73 extern void F77_NAME(dgedi)(double*, int*, int*, int*, double*, double*, int*);
74 extern void F77_NAME(dgefa)(double*, int*, int*, int*, int*);
75 extern void F77_NAME(dgesl)(double*, int*, int*, int*, double*, int*);
76 extern void F77_NAME(dgtsl)(int*, double*, double*, double*, double*, int*);
77 extern void F77_NAME(dpbco)(double*, int*, int*, int*, double*, double*, int*);
78 extern void F77_NAME(dpbdi)(double*, int*, int*, int*, double*);
79 extern void F77_NAME(dppco)(double*, int*, double*, double*, int*);
80 extern void F77_NAME(dppdi)(double*, int*, double*, int*);
81 extern void F77_NAME(dppfa)(double*, int*, int*);
82 extern void F77_NAME(dppsl)(double*, int*, double*);
83 extern void F77_NAME(dptsl)(int*, double*, double*, double*);
84 extern void F77_NAME(dsico)(double*, int*, int*, int*, double*, double*);
85 extern void F77_NAME(dsidi)(double*, int*, int*, int*, double*, int*, double*, int*);
86 extern void F77_NAME(dsifa)(double*, int*, int*, int*, int*);
87 extern void F77_NAME(dsisl)(double*, int*, int*, int*, double*);
88 extern void F77_NAME(dspco)(double*, int*, int*, double*, double*);
89 extern void F77_NAME(dspdi)(double*, int*, int*, double*, int*, double*, int*);
90 extern void F77_NAME(dspfa)(double*, int*, int*, int*);
91 extern void F77_NAME(dspsl)(double*, int*, int*, double*);
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif /* R_LINPACK_H_ */