applyFunction method

Array applyFunction(
  1. double func(
    1. double
    )
)

Implementation

Array applyFunction(double Function(double) func) {
  return map((val, pos) => func(val));
}