10 if (!
CS_CSC (A) || !b)
return (0) ;
17 x = (
double*)
cs_calloc (S ? S->
m2 : 1, sizeof (
double)) ;
22 for (k = 0 ; k < n ; k++)
33 S =
cs_sqr (order, AT, 1) ;
35 x = (
double*)
cs_calloc (S ? S->
m2 : 1, sizeof (
double)) ;
36 ok = (AT && S && N && x) ;
41 for (k = m-1 ; k >= 0 ; k--)
css * cs_sqr(int order, const cs *A, int qr)
csn * cs_qr(const cs *A, const css *S)
int cs_ipvec(const int *p, const double *b, double *x, int n)
cs * cs_transpose(const cs *A, int values)
int cs_usolve(const cs *U, double *x)
int cs_happly(const cs *V, int i, double beta, double *x)
int cs_utsolve(const cs *U, double *x)
void * cs_calloc(int n, size_t size)
int cs_pvec(const int *p, const double *b, double *x, int n)
int cs_qrsol(int order, const cs *A, double *b)