SequentialBigSvd { public Matrix getV() { return cd2.solveRight(b.transpose()).times(svd.getV()); } SequentialBigSvd(Matrix A, int p); Vector getSingularValues(); Matrix getU(); Matrix getV();  }
@Test public void testRightVectors() { Matrix A = lowRankMatrix(); SequentialBigSvd s = new SequentialBigSvd(A, 6); SingularValueDecomposition svd = new SingularValueDecomposition(A); Matrix v1 = svd.getV().viewPart(0, 20, 0, 3).assign(Functions.ABS); Matrix v2 = s.getV().viewPart(0, 20, 0, 3).assign(Functions.ABS); assertEquals(v1, v2); }