DSP Run-Time Library Reference
csub
complex subtraction
Synopsis
#include <complex.h>
complex_float csubf (complex_float a, complex_float b)
complex_double csub (complex_double a, complex_double b)
complex_fract16 csub_fr16 (complex_fract16 a, complex_fract16 b)
Description
This function computes the complex subtraction of two complex inputs
and
, and returns the result.
b
Algorithm
Re(c) = Re(a)
Im(c) = Im(a)
Domain
38
-3.4 x 10
to +3.4 x 10
-1.0 to 1.0
4-56
–
Re(b)
–
Im(b)
38
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for
csubf( ), csub( )
for
csub_fr16( )
for ADSP-219x DSPs
a
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers