Main Page | Directories | File List | Globals

R_ldl.h

Go to the documentation of this file.
00001 /* This is a modified version of the ldl.h file released by Timothy A. Davis  */
00002 /* in the LDL package and carrying the copyright shown below. The             */
00003 /* modifications are to replace scratch arrays passed as arguments by         */
00004 /* dynamically allocated arrays.                                              */
00005 /* Douglas Bates (Nov., 2004)                                                 */
00006 
00007 /* ========================================================================== */
00008 /* === ldl.h:  include file for the LDL package ============================= */
00009 /* ========================================================================== */
00010 
00011 /* LDL Version 1.0 (Dec. 31, 2003), Copyright (c) 2003 by Timothy A Davis,
00012  * University of Florida.  All Rights Reserved.  See README for the License.
00013  */
00014 
00015 #include <R_ext/RS.h>
00016 #include <R_ext/Memory.h>
00017 
00018 extern void R_ldl_symbolic(int n, const int Ap[], const int Ai[],
00019                            int Lp[], int Parent[], const int P[],
00020                            int Pinv[]);
00021 
00022 extern int R_ldl_numeric(int n, const int Ap[], const int Ai[],
00023                          const double Ax[], const int Lp[], const int Parent[],
00024                          int Li[], double Lx[], double D[],
00025                          const int P[], const int Pinv[]);
00026 
00027 extern void R_ldl_lsolve(int n, double X[], const int Lp[], const int Li[],
00028                          const double Lx[]);
00029 
00030 extern void R_ldl_dsolve(int n, double X[], const double D[]);
00031 
00032 extern void R_ldl_ltsolve(int n, double X[], const int Lp[], const int Li[],
00033                           const double Lx[]);
00034 
00035 extern void R_ldl_perm(int n, double X[], const double B[], const int P[]);
00036 extern void R_ldl_permt(int n, double X[], const double B[], const int P[]);
00037 
00038 int R_ldl_valid_perm(int n, const int P[]);
00039 int R_ldl_valid_matrix(int n, const int Ap[], const int Ai[]);

Generated on Wed Mar 30 08:43:57 2005 for Matrix by  doxygen 1.4.1