simplex = {
const f1 = new Affine2D([[0., 0.], [0., 0.12]],[0., 0.]);
const f2 = new Affine2D([[0.82, 0.04], [-0.05, 0.9]],[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.24, -0.24]],[0., 0.4]);
const simplex = new Simplex(
[0.01, 0.85, 0.07, 0.07],
[f1, f2, f3, f4],
)
return simplex;
}