@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);
  //assertOrthonormal(state);
  //assertEigen(state, rank / 2, ERROR_TOLERANCE, true);
}