| 7727 |
ripley |
1 |
/*
|
|
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
|
|
3 |
* Copyright (C) 1997 Robert Gentleman and Ross Ihaka
|
| 85063 |
ripley |
4 |
* Copyright (C) 1999-2023 The R Core Team.
|
| 7727 |
ripley |
5 |
*
|
| 71657 |
plummer |
6 |
* This header file is free software; you can redistribute it and/or modify
|
| 12778 |
pd |
7 |
* it under the terms of the GNU Lesser General Public License as published by
|
|
|
8 |
* the Free Software Foundation; either version 2.1 of the License, or
|
| 7727 |
ripley |
9 |
* (at your option) any later version.
|
|
|
10 |
*
|
| 71657 |
plummer |
11 |
* This file is part of R. R is distributed under the terms of the
|
|
|
12 |
* GNU General Public License, either Version 2, June 1991 or Version 3,
|
|
|
13 |
* June 2007. See doc/COPYRIGHTS for details of the copyright status of R.
|
|
|
14 |
*
|
| 7727 |
ripley |
15 |
* This program is distributed in the hope that it will be useful,
|
|
|
16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 12778 |
pd |
18 |
* GNU Lesser General Public License for more details.
|
| 7727 |
ripley |
19 |
*
|
| 12778 |
pd |
20 |
* You should have received a copy of the GNU Lesser General Public License
|
| 42308 |
ripley |
21 |
* along with this program; if not, a copy is available at
|
| 68949 |
ripley |
22 |
* https://www.R-project.org/Licenses/
|
| 7727 |
ripley |
23 |
*/
|
| 60253 |
ripley |
24 |
|
|
|
25 |
/*
|
|
|
26 |
C declarations of double-precision LINPACK Fortran subroutines
|
|
|
27 |
included in R, and some others.
|
|
|
28 |
|
|
|
29 |
Those which are listed as part of R are in the API
|
| 85063 |
ripley |
30 |
|
|
|
31 |
Called from R by lbfgsb.c (dpofa, dtrsl) and uncmin.c (dtrsl)
|
|
|
32 |
and by Fortran routines in src/library/stats/src (sslvrg.f)
|
|
|
33 |
|
| 85067 |
ripley |
34 |
Used by about 40 CRAN packages: ca 6 relying on the inclusion of BLAS.h
|
| 60253 |
ripley |
35 |
*/
|
|
|
36 |
|
| 7727 |
ripley |
37 |
#ifndef R_LINPACK_H_
|
|
|
38 |
#define R_LINPACK_H_
|
|
|
39 |
|
| 19500 |
hornik |
40 |
#include <R_ext/RS.h> /* for F77_... */
|
| 7727 |
ripley |
41 |
|
| 11211 |
ripley |
42 |
#ifdef __cplusplus
|
|
|
43 |
extern "C" {
|
|
|
44 |
#endif
|
|
|
45 |
|
| 67692 |
ripley |
46 |
/* Double Precision LINPACK */
|
| 7727 |
ripley |
47 |
|
| 19176 |
ripley |
48 |
extern void F77_NAME(dpbfa)(double*, int*, int*, int*, int*);
|
|
|
49 |
extern void F77_NAME(dpbsl)(double*, int*, int*, int*, double*);
|
|
|
50 |
extern void F77_NAME(dpoco)(double*, int*, int*, double*, double*, int*);
|
|
|
51 |
extern void F77_NAME(dpodi)(double*, int*, int*, double*, int*);
|
|
|
52 |
extern void F77_NAME(dpofa)(double*, int*, int*, int*);
|
|
|
53 |
extern void F77_NAME(dposl)(double*, int*, int*, double*);
|
|
|
54 |
extern void F77_NAME(dqrdc)(double*, int*, int*, int*, double*, int*, double*, int*);
|
|
|
55 |
extern void F77_NAME(dqrsl)(double*, int*, int*, int*, double*, double*, double*, double*, double*, double*, double*, int*, int*);
|
|
|
56 |
extern void F77_NAME(dsvdc)(double*, int*, int*, int*, double*, double*, double*, int*, double*, int*, double*, int*, int*);
|
|
|
57 |
extern void F77_NAME(dtrco)(double*, int*, int*, double*, double*, int*);
|
|
|
58 |
extern void F77_NAME(dtrsl)(double*, int*, int*, double*, int*, int*);
|
| 9017 |
ripley |
59 |
|
| 18610 |
ripley |
60 |
|
| 9017 |
ripley |
61 |
/* The following routines are listed as they have always been declared
|
|
|
62 |
here, but they are not currently included in R */
|
| 19176 |
ripley |
63 |
extern void F77_NAME(dchdc)(double*, int*, int*, double*, int*, int*, int*);
|
|
|
64 |
extern void F77_NAME(dchdd)(double*, int*, int*, double*, double*, int*, int*, double*, double*, double*, double*, int*);
|
|
|
65 |
extern void F77_NAME(dchex)(double*, int*, int*, int*, int*, double*, int*, int*, double*, double*, int*);
|
|
|
66 |
extern void F77_NAME(dchud)(double*, int*, int*, double*, double*, int*, int*, double*, double*, double*, double*);
|
|
|
67 |
extern void F77_NAME(dgbco)(double*, int*, int*, int*, int*, int*, double*, double*);
|
|
|
68 |
extern void F77_NAME(dgbdi)(double*, int*, int*, int*, int*, int*, double*);
|
|
|
69 |
extern void F77_NAME(dgbfa)(double*, int*, int*, int*, int*, int*, int*);
|
|
|
70 |
extern void F77_NAME(dgbsl)(double*, int*, int*, int*, int*, int*, double*, int*);
|
|
|
71 |
extern void F77_NAME(dgeco)(double*, int*, int*, int*, double*, double*);
|
|
|
72 |
extern void F77_NAME(dgedi)(double*, int*, int*, int*, double*, double*, int*);
|
|
|
73 |
extern void F77_NAME(dgefa)(double*, int*, int*, int*, int*);
|
|
|
74 |
extern void F77_NAME(dgesl)(double*, int*, int*, int*, double*, int*);
|
|
|
75 |
extern void F77_NAME(dgtsl)(int*, double*, double*, double*, double*, int*);
|
|
|
76 |
extern void F77_NAME(dpbco)(double*, int*, int*, int*, double*, double*, int*);
|
|
|
77 |
extern void F77_NAME(dpbdi)(double*, int*, int*, int*, double*);
|
|
|
78 |
extern void F77_NAME(dppco)(double*, int*, double*, double*, int*);
|
|
|
79 |
extern void F77_NAME(dppdi)(double*, int*, double*, int*);
|
|
|
80 |
extern void F77_NAME(dppfa)(double*, int*, int*);
|
|
|
81 |
extern void F77_NAME(dppsl)(double*, int*, double*);
|
|
|
82 |
extern void F77_NAME(dptsl)(int*, double*, double*, double*);
|
|
|
83 |
extern void F77_NAME(dsico)(double*, int*, int*, int*, double*, double*);
|
|
|
84 |
extern void F77_NAME(dsidi)(double*, int*, int*, int*, double*, int*, double*, int*);
|
|
|
85 |
extern void F77_NAME(dsifa)(double*, int*, int*, int*, int*);
|
|
|
86 |
extern void F77_NAME(dsisl)(double*, int*, int*, int*, double*);
|
|
|
87 |
extern void F77_NAME(dspco)(double*, int*, int*, double*, double*);
|
|
|
88 |
extern void F77_NAME(dspdi)(double*, int*, int*, double*, int*, double*, int*);
|
|
|
89 |
extern void F77_NAME(dspfa)(double*, int*, int*, int*);
|
|
|
90 |
extern void F77_NAME(dspsl)(double*, int*, int*, double*);
|
| 7727 |
ripley |
91 |
|
| 11211 |
ripley |
92 |
#ifdef __cplusplus
|
|
|
93 |
}
|
| 7727 |
ripley |
94 |
#endif
|
| 11211 |
ripley |
95 |
|
|
|
96 |
#endif /* R_LINPACK_H_ */
|