throw new IllegalArgumentException("Exception occured in cs_sqr()"); N = Dcs_qr.cs_qr(dcs, S); if (N == null) { throw new IllegalArgumentException("Exception occured in cs_qr()");
throw new IllegalArgumentException("Exception occured in cs_sqr()"); N = Dcs_qr.cs_qr(dcs, S); if (N == null) { throw new IllegalArgumentException("Exception occured in cs_qr()");
throw new IllegalArgumentException("Exception occured in cs_sqr()"); N = Dcs_qr.cs_qr(dcs, S); if (N == null) { throw new IllegalArgumentException("Exception occured in cs_qr()");
if (m >= n) { S = Dcs_sqr.cs_sqr(order, A, true); /* ordering and symbolic analysis */ N = Dcs_qr.cs_qr(A, S); /* numeric QR factorization */ x = new double[S != null ? S.m2 : 1]; /* get workspace */ ok = (S != null && N != null); AT = Dcs_transpose.cs_transpose(A, true); /* Ax=b is underdetermined */ S = Dcs_sqr.cs_sqr(order, AT, true); /* ordering and symbolic analysis */ N = Dcs_qr.cs_qr(AT, S); /* numeric QR factorization of A' */ x = new double[S != null ? S.m2 : 1]; /* get workspace */ ok = (AT != null && S != null && N != null);