@Test public void testLanczosSolverSymmetric() throws Exception { int numCols = 500; Matrix corpus = randomHierarchicalSymmetricMatrix(numCols); Vector initialVector = new DenseVector(numCols); initialVector.assign(1.0 / Math.sqrt(numCols)); int rank = 30; LanczosState state = new LanczosState(corpus, rank, initialVector); LanczosSolver solver = new LanczosSolver(); solver.solve(state, rank, true); }
public void solve(LanczosState state, int desiredRank) { solve(state, desiredRank, false); }
LanczosSolver { public void solve(LanczosState state, int desiredRank) { solve(state, desiredRank, false); } }
LanczosSolver { public void solve(LanczosState state, int desiredRank) { solve(state, desiredRank, false); }  }
LanczosSolver { public void solve(LanczosState state, int desiredRank) { solve(state, desiredRank, false); }  void solve(LanczosState state,
                    int desiredRank); void solve(LanczosState state,
                    int desiredRank,
                    boolean isSymmetric); }
LanczosSolver { public void solve(LanczosState state, int desiredRank) { solve(state, desiredRank, false); }  void solve(LanczosState state,
                    int desiredRank); void solve(LanczosState state,
                    int desiredRank,
                    boolean isSymmetric); static final double SAFE_MAX; }