core/vnl/vnl_imag.h
Go to the documentation of this file.
00001 // This is core/vnl/vnl_imag.h
00002 #ifndef vnl_imag_h_
00003 #define vnl_imag_h_
00004 //:
00005 // \file
00006 // \brief Functions to return the imaginary parts of complex arrays, vectors, matrices
00007 //
00008 // \verbatim
00009 // Modifications
00010 // Peter Vanroose - 2 July 2002 - part of vnl_complex_ops.h moved here
00011 // \endverbatim
00012 
00013 #include <vcl_complex.h>
00014 #include <vnl/vnl_vector.h>
00015 #include <vnl/vnl_matrix.h>
00016 
00017 //: Return array I of imaginary parts of complex array C.
00018 template <class T> void vnl_imag(vcl_complex<T> const* C, T* I, unsigned int n);
00019 
00020 //: Vector of imaginary parts of vnl_vector<vcl_complex<T> >.
00021 // \relatesalso vnl_vector
00022 template <class T> vnl_vector<T> vnl_imag(vnl_vector<vcl_complex<T> > const& C);
00023 
00024 //: Matrix of imaginary parts of vnl_matrix<vcl_complex<T> >.
00025 // \relatesalso vnl_matrix
00026 template <class T> vnl_matrix<T> vnl_imag(vnl_matrix<vcl_complex<T> > const& C);
00027 
00028 #endif // vnl_imag_h_