SingularValueDecomposition { public RealMatrix getU() { return cachedU; } SingularValueDecomposition(final RealMatrix matrix); RealMatrix getU(); RealMatrix getUT(); RealMatrix getS(); double[] getSingularValues(); RealMatrix getV(); RealMatrix getVT(); RealMatrix getCovariance(final double minSingularValue); double getNorm(); double getConditionNumber(); double getInverseConditionNumber(); int getRank(); DecompositionSolver getSolver();  }
@Test public void testUOrthogonal() { checkOrthogonal(new SingularValueDecomposition(MatrixUtils.createRealMatrix(testSquare)).getU()); checkOrthogonal(new SingularValueDecomposition(MatrixUtils.createRealMatrix(testNonSquare)).getU()); checkOrthogonal(new SingularValueDecomposition(MatrixUtils.createRealMatrix(testNonSquare).transpose()).getU()); }