Crate idsp

source ·

Modules

Structs

A complex number in Cartesian form.
Arbitrary order, high dynamic range, wide coefficient range, lowpass filter implementation. DC gain is 1.
Type-II, sampled phase, discrete time PLL
Reciprocal PLL.
Overflow unwrapper.

Traits

Complex extension trait offering DSP (fast, good accuracy) functionality.
Full scale fixed point multiplication.

Functions

2-argument arctangent function.
Compute the cosine and sine of an angle. This is ported from the MiSoC cossin core. https://github.com/m-labs/misoc/blob/master/misoc/cores/cossin.py
Subtract y - x with signed overflow.
Combine high and low i32 into a single downscaled i32, saturating monotonically.