Create FFT (backed by radix-2 algorithm) function in smnp.dsp

This commit is contained in:
2020-03-26 19:46:22 +01:00
parent d4577fa4b6
commit 71362e2b38
5 changed files with 93 additions and 1 deletions

View File

@@ -55,6 +55,10 @@ extend list {
return output;
}
function sublist(beginIndex: int, endIndex: int) {
return this as (item, index) ^ item % index >= beginIndex and index < endIndex;
}
function isEmpty() {
return this.size == 0;
}