diff method

List<double> diff(
  1. List<double> other
)

Implementation

List<double> diff(List<double> other) =>
    List<double>.generate(length, (i) => this[i] - other[i]);