idsp 0.1.0

DSP algorithms for embedded, mostly integer math
Documentation

Embedded DSP algorithms

GitHub release Documentation QUARTIQ Matrix Chat Continuous Integration

This crate contains some tuned DSP algorithms for general and especially embedded use. Many of the algorithms are implemented on integer datatypes for several reasons that become important in certain cases:

  • Speed: even with a hard FP unit integer operations are faster.
  • Accuracy: single precision FP has a 24 bit mantissa, i32 has full 32 bit.
  • No rounding errors.
  • Natural wrap around at the integer overflow: critical for phase/frequency applications (cossin, Unwrapper, atan2, PLL, RPLL etc.)

The prime user for these algorithms is Stabilizer.