.weight(new DiagonalMatrix(new double[]{16, 4}))
.model(new MultivariateJacobianFunction() {
public Pair<RealVector, RealMatrix> value(RealVector actualPoint) {
//verify correct values passed in
Assert.assertArrayEquals(
point.toArray(), actualPoint.toArray(), Precision.EPSILON);
//return values
return new Pair<RealVector, RealMatrix>(
new ArrayRealVector(new double[]{3, 4}),
MatrixUtils.createRealMatrix(new double[][]{{5, 6}, {7, 8}})
);