* @return numeric Cholesky factorization, null on error
*/
public static Scsn cs_chol(Scs A, Scss S) {
float d, lki, Lx[], x[], Cx[];
int top, i, p, k, n, Li[], Lp[], cp[], pinv[], s[], c[], parent[], Cp[], Ci[];
Scs L, C;
Scsn N;
if (!Scs_util.CS_CSC(A) || S == null || S.cp == null || S.parent == null)
return (null);
n = A.n;
N = new Scsn(); /* allocate result */