simplex = {
const f1 = new Affine2D([[0., 0.], [0., 0.16]],[0., 0.]);
const f2 = new Affine2D([[0.85, 0.04], [0.1, 0.95]],[0., 1.5]);
const f3 = new Affine2D([[-0.2, -0.23], [0.23, 0.22]],[0., 1.6]);
const f4 = new Affine2D([[-0.15, 0.28], [0.26, 0.24]],[0., 0.44]);
const simplex = new Simplex(
[0.01, 0.85, 0.07, 0.07],
[f1, f2, f3, f4],
)
return simplex;
}