17 #include "GlobalOptions.h"
19 void LDL_symbolic(qp_int n, qp_int Ap[],
20 qp_int Ai[], qp_int Lp[],
21 qp_int Parent[], qp_int Lnz[],
22 qp_int Flag[], qp_int P[],
25 qp_int LDL_numeric(qp_int n, qp_int Ap[],
26 qp_int Ai[], qp_real Ax[], qp_int Lp[],
27 qp_int Parent[], qp_int Lnz[],
28 qp_int Li[], qp_real Lx[], qp_real D[], qp_real Y[],
29 qp_int Pattern[], qp_int Flag[],
30 qp_int P[], qp_int Pinv[]);
32 qp_int LDL_cache_numeric(qp_int n, qp_int Ap[],
33 qp_int Ai[], qp_real Ax[], qp_int Ltp[], qp_int Lti[],
34 qp_int Li[], qp_int Lp[], qp_real Lx[], qp_real D[], qp_real Y[],
35 qp_int P[], qp_int Pinv[], qp_int UPattern[]);
38 qp_int LDL_row_cache_numeric(qp_int n, qp_int Ap[],
39 qp_int Ai[], qp_real Ax[], qp_int Ltp[], qp_int Lti[],
40 qp_int Li[], qp_int Lp[], qp_real Lx[], qp_real D[], qp_real Y[],
41 qp_int P[], qp_int Pinv[], qp_int UPattern[]);
43 void LDL_lsolve(qp_int n, qp_real X[], qp_int Lp[],
44 qp_int Li[], qp_real Lx[]);
46 void LDL_dsolve(qp_int n, qp_real X[], qp_real D[]);
48 void LDL_ltsolve(qp_int n, qp_real X[], qp_int Lp[],
49 qp_int Li[], qp_real Lx[]);
51 void LDL_perm(qp_int n, qp_real X[], qp_real B[],
53 void LDL_permt(qp_int n, qp_real X[], qp_real B[],
56 qp_int LDL_valid_perm(qp_int n, qp_int P[],
58 qp_int LDL_valid_matrix(qp_int n,
59 qp_int Ap[], qp_int Ai[]);
65 #define LDL_DATE "May 4, 2016"
66 #define LDL_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
67 #define LDL_MAIN_VERSION 2
68 #define LDL_SUB_VERSION 2
69 #define LDL_SUBSUB_VERSION 6
70 #define LDL_VERSION LDL_VERSION_CODE(LDL_MAIN_VERSION,LDL_SUB_VERSION)