Complex Numbers
- class tiliqua.dsp.complex.CQ(shape)
data.StructLayoutrepresenting a complex number, formed by a pair of numbers.- shapefixed.SQ
Shape of the fixed-point types used for real and imaginary components.
- Members:
real (
shape) – Real component of complex number.imag (
shape) – Imaginary component of complex number.
- class tiliqua.dsp.complex.Polar(shape)
data.StructLayoutrepresenting a complex number in polar form.- shapefixed.SQ
Shape of the fixed-point types used for magnitude and phase components.
- Members:
magnitude (
shape) – Magnitude component of complex number.phase (
shape) – Phase component of complex number.