public static void main(String[] args) { int dim = 10; Bohachevsky b = new Bohachevsky(-15, 15, dim); Vector v = new Vector(dim); for (int i = 0; i < dim; i++) v.setReal(i, 15); System.out.println("f(" + v + ") = " + b.evaluate(v)); }