}
}
private static void computeBenchmarks(final Summation2 sigma) {
final Timer t = new Timer(false);
t.tick("sigma=" + sigma);
final double value = sigma.compute();
t.tick("compute=" + value);
assertEquals(value, sigma.compute_modular());
t.tick("compute_modular");
assertEquals(value, sigma.compute_montgomery());