List<num> diffFromSignal<E, T extends Signal<N, E, T>>(T signal) => List<num>.generate(length, (i) => this[i] - signal.getValue(i));