mix static method

double mix(
  1. ParametricFunc f1,
  2. ParametricFunc f2,
  3. double t,
  4. double blend,
)

Implementation

static double mix(ParametricFunc f1, ParametricFunc f2, double t, double blend) =>
    (1 - blend) * f1(t) + blend * f2(t);