inPlaceApplyWindow method
Applies the window to the complexArray
.
This method modifies the input array, rather than allocating a new array.
Implementation
void inPlaceApplyWindow(Float64x2List complexArray) {
if (complexArray.length != length) {
throw ArgumentError('Input data is the wrong length.', 'complexArray');
}
for (int i = 0; i < complexArray.length; ++i) {
complexArray[i] = complexArray[i].scale(this[i]);
}
}