int desiredRank = 30;
Matrix eigenVectors = new DenseMatrix(desiredRank, corpus.numCols());
List<Double> eigenValues = new ArrayList<Double>();
solver.solve(corpus, desiredRank, eigenVectors, eigenValues, symmetric);
assertOrthonormal(eigenVectors);
assertEigen(eigenVectors, corpus, eigenVectors.numRows() / 2, 0.01, symmetric);
}
public void testDistributedLanczosSolver() throws Exception {
// doTestDistributedLanczosSolver(false);
// TestCanopyCreation.rmr("testData");