SchurTransformer { public RealMatrix getP() { if (cachedP == null) { cachedP = MatrixUtils.createRealMatrix(matrixP); } return cachedP; } SchurTransformer(final RealMatrix matrix); RealMatrix getP(); RealMatrix getPT(); RealMatrix getT();  }
@Test public void testPOrthogonal() { checkOrthogonal(new SchurTransformer(MatrixUtils.createRealMatrix(testSquare5)).getP()); checkOrthogonal(new SchurTransformer(MatrixUtils.createRealMatrix(testSquare3)).getP()); checkOrthogonal(new SchurTransformer(MatrixUtils.createRealMatrix(testRandom)).getP()); }