QR qr = new QR(Ar.numRows(), Ar.numColumns());
assertEquals(Ar, qr.factor(new DenseMatrix(Ar)));
}
public void testRepeatFactorNonSquare() {
QR qr = new QR(Ar.numRows(), Ar.numColumns());
qr.factor(new DenseMatrix(Ar));
assertEquals(Ar, qr);
qr.factor(new DenseMatrix(Ar));
assertEquals(Ar, qr);
}