I see support for Real FFT in DSPLib as rfft(). Understandably, rfft() takes real data on input, but provide complex data on output as real plus imaginary pairs, much like other FFT libraries. I also see various other Q.15 library calls for vector multiply. What seems to be missing, however, is an easy call to convert the complex output of the *fft() routines from rectangular to polar coordinates. I think I saw a routine which could calculate the phase, but my application does not need phase. There is a vector power() routine, but it produces a scalar output, and does not take complex data on input anyway.
What would be handy is a rectangular-to-polar vector conversion which take complex input (real+imag) and produces pseudo-complex output (magn+phas). For efficiency, it would be great to be able to skip the phase and just produce a magnitude vector from complex input.
Does anything like this exist in the DSPLib or math library support for the C55x DSP?
P.S. I'm developing for the C5506, but I assume the answer is the same for the entire C55x family.