circuitpython-ulab/code
Jeff Epler 7846b0c469 convolve: Optimize and special-case floats
Special casing floats decreases runtime to about 50% (applying a 117-tap
filter to 512 points of data goes from 70ms to 32ms)

The top_n/bot_n calculations already meant that the a/c indices were
never out of range.  This decreases runtime further to about 15% of
original (11ms)

Timings done on an Adafruit Clue (nrf52840 at 64MHz)

It does of course increase code size somewhat.
2020-02-11 17:57:54 -06:00
..
fft.c the master branch is configurable now 2020-02-07 21:23:24 +01:00
fft.h the master branch is configurable now 2020-02-07 21:23:24 +01:00
filter.c convolve: Optimize and special-case floats 2020-02-11 17:57:54 -06:00
filter.h the master branch is configurable now 2020-02-07 21:23:24 +01:00
linalg.c the master branch is configurable now 2020-02-07 21:23:24 +01:00
linalg.h the master branch is configurable now 2020-02-07 21:23:24 +01:00
micropython.mk convolve: implement and document 2020-02-05 16:33:48 -06:00
ndarray.c implemented ndarray properties 2020-02-11 20:08:37 +01:00
ndarray.h implemented ndarray properties 2020-02-11 20:08:37 +01:00
numerical.c the master branch is configurable now 2020-02-07 21:23:24 +01:00
numerical.h the master branch is configurable now 2020-02-07 21:23:24 +01:00
poly.c the master branch is configurable now 2020-02-07 21:23:24 +01:00
poly.h the master branch is configurable now 2020-02-07 21:23:24 +01:00
ulab.c Merge pull request #33 from jepler/fix-undef-errors-mpy 2020-02-11 20:19:27 +01:00
ulab.h added a short section to the manual on how to customise ulab 2020-02-11 21:36:12 +01:00
vectorise.c the master branch is configurable now 2020-02-07 21:23:24 +01:00
vectorise.h the master branch is configurable now 2020-02-07 21:23:24 +01:00