[linux-audio-dev] dealing with complex numbers
    Erik de Castro Lopo 
    mle+la at mega-nerd.com
       
    Tue Dec 13 21:05:04 UTC 2005
    
    
  
Artemiy Pavlov wrote:
> Hey everybody!
> 
> This may be a little bit off-topic, but can anyone suggest me any reading on 
> how to use complex numbers in C or C++? Is there any library or ++ classes 
> for such computations?
In C++:
   #include <complex>
which is a template clase. You can then do:
   typedef std::complex<double>  dcomplex ;
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
Open Source and Free Software means that you never sacrifice quality
of the code for meeting deadlines set up by people not participating
directly in the software development process.
    
    
More information about the Linux-audio-dev
mailing list