SCM

SCM Repository

[matrix] Annotation of /pkg/src/R_ldl.h
ViewVC logotype

Annotation of /pkg/src/R_ldl.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 376 - (view) (download) (as text)

1 : bates 369 /* This is a modified version of the ldl.h file released by Timothy A. Davis */
2 :     /* in the LDL package and carrying the copyright shown below. The */
3 :     /* modifications are to replace scratch arrays passed as arguments by */
4 :     /* dynamically allocated arrays. */
5 :     /* Douglas Bates (Nov., 2004) */
6 :    
7 :     /* ========================================================================== */
8 :     /* === ldl.h: include file for the LDL package ============================= */
9 :     /* ========================================================================== */
10 :    
11 :     /* LDL Version 1.0 (Dec. 31, 2003), Copyright (c) 2003 by Timothy A Davis,
12 :     * University of Florida. All Rights Reserved. See README for the License.
13 :     */
14 :    
15 :     #include <R_ext/RS.h>
16 : bates 376 #include <R_ext/Memory.h>
17 : bates 369
18 :     extern void R_ldl_symbolic(int n, const int Ap[], const int Ai[],
19 :     int Lp[], int Parent[], const int P[],
20 :     int Pinv[]);
21 :    
22 :     extern int R_ldl_numeric(int n, const int Ap[], const int Ai[],
23 :     const double Ax[], const int Lp[], const int Parent[],
24 :     int Li[], double Lx[], double D[],
25 :     const int P[], const int Pinv[]);
26 :    
27 :     extern void R_ldl_lsolve(int n, double X[], const int Lp[], const int Li[],
28 :     const double Lx[]);
29 :    
30 :     extern void R_ldl_dsolve(int n, double X[], const double D[]);
31 :    
32 :     extern void R_ldl_ltsolve(int n, double X[], const int Lp[], const int Li[],
33 :     const double Lx[]);
34 :    
35 :     extern void R_ldl_perm(int n, double X[], const double B[], const int P[]);
36 :     extern void R_ldl_permt(int n, double X[], const double B[], const int P[]);
37 :    
38 :     int R_ldl_valid_perm(int n, const int P[]);
39 :     int R_ldl_valid_matrix(int n, const int Ap[], const int Ai[]);

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge