Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
3.3
-
None
-
None
Description
QRDecomposition fails this test. The default contructor sets the threshold=0, so we will never have abs(Rii) <= 0
public void testSimpleRankDeficient() throws Exception {
double[][] A = new double[][] {
,
,
{ 7, 8, 9 }};
//this matrix is singular
RealMatrix M2 = MatrixUtils.createRealMatrix(A);
QRDecomposition qr2 = new QRDecomposition(M2);
assertFalse(qr2.getSolver().isNonSingular());//this fails
}
Attachments
Attachments
Issue Links
- is related to
-
MATH-1024 LU and QR have different default singularity thresholds
- Open