core/vnl/vnl_complex_ops.txx File Reference


Detailed Description

Author:
fsm This is the implementation file for the following three header files: vnl_complexify.h vnl_real.h vnl_imag.h

Definition in file vnl_complex_ops.txx.

#include "vnl_complexify.h"
#include "vnl_real.h"
#include "vnl_imag.h"
#include <vcl_cassert.h>

Go to the source code of this file.


Defines

#define VNL_COMPLEX_OPS_INSTANTIATE(T)

Functions

template<class T>
void vnl_complexify (T const *src, vcl_complex< T > *dst, unsigned n)
 Overwrite complex array C (sz n) with complexified version of real array R.
template<class T>
void vnl_complexify (T const *re, T const *im, vcl_complex< T > *dst, unsigned n)
 Overwrite complex array C (of length n) with pairs from real arrays R and I.
template<class T>
vnl_vector< vcl_complex< T > > vnl_complexify (vnl_vector< T > const &v)
template<class T>
vnl_vector< vcl_complex< T > > vnl_complexify (vnl_vector< T > const &re, vnl_vector< T > const &im)
template<class T>
vnl_matrix< vcl_complex< T > > vnl_complexify (vnl_matrix< T > const &M)
template<class T>
vnl_matrix< vcl_complex< T > > vnl_complexify (vnl_matrix< T > const &re, vnl_matrix< T > const &im)
template<class T>
void vnl_real (vcl_complex< T > const *C, T *R, unsigned int n)
 Return array R of real parts of complex array C.
template<class T>
vnl_vector< T > vnl_real (vnl_vector< vcl_complex< T > > const &C)
 Vector of real parts of vnl_vector<vcl_complex<T> >.
template<class T>
vnl_matrix< T > vnl_real (vnl_matrix< vcl_complex< T > > const &C)
 Matrix of real parts of vnl_matrix<vcl_complex<T> >.
template<class T>
void vnl_imag (vcl_complex< T > const *C, T *I, unsigned int n)
 Return array I of imaginary parts of complex array C.
template<class T>
vnl_vector< T > vnl_imag (vnl_vector< vcl_complex< T > > const &C)
 Vector of imaginary parts of vnl_vector<vcl_complex<T> >.
template<class T>
vnl_matrix< T > vnl_imag (vnl_matrix< vcl_complex< T > > const &C)
 Matrix of imaginary parts of vnl_matrix<vcl_complex<T> >.

Define Documentation

#define VNL_COMPLEX_OPS_INSTANTIATE (  ) 

Value:

template void vnl_complexify(T const *, vcl_complex<T > *, unsigned); \
template void vnl_complexify(T const *, T const *, vcl_complex<T > *, unsigned); \
\
template vnl_vector<vcl_complex<T > > vnl_complexify(vnl_vector<T > const &); \
template vnl_vector<vcl_complex<T > > vnl_complexify(vnl_vector<T > const &, vnl_vector<T > const &); \
template vnl_matrix<vcl_complex<T > > vnl_complexify(vnl_matrix<T > const &); \
template vnl_matrix<vcl_complex<T > > vnl_complexify(vnl_matrix<T > const &, vnl_matrix<T > const &); \
\
template void vnl_real(vcl_complex<T > const*, T*, unsigned int); \
template void vnl_imag(vcl_complex<T > const*, T*, unsigned int); \
\
template vnl_vector<T > vnl_real(vnl_vector<vcl_complex<T > > const&); \
template vnl_vector<T > vnl_imag(vnl_vector<vcl_complex<T > > const&); \
\
template vnl_matrix<T > vnl_real(vnl_matrix<vcl_complex<T > > const&); \
template vnl_matrix<T > vnl_imag(vnl_matrix<vcl_complex<T > > const&)

Definition at line 131 of file vnl_complex_ops.txx.


Function Documentation

template<class T>
vnl_matrix<vcl_complex<T> > vnl_complexify ( vnl_matrix< T > const &  re,
vnl_matrix< T > const &  im 
) [related]

Definition at line 58 of file vnl_complex_ops.txx.

template<class T>
vnl_matrix<vcl_complex<T> > vnl_complexify ( vnl_matrix< T > const &  M  )  [related]

Definition at line 50 of file vnl_complex_ops.txx.

template<class T>
vnl_vector<vcl_complex<T> > vnl_complexify ( vnl_vector< T > const &  re,
vnl_vector< T > const &  im 
) [related]

Definition at line 41 of file vnl_complex_ops.txx.

template<class T>
vnl_vector<vcl_complex<T> > vnl_complexify ( vnl_vector< T > const &  v  )  [related]

Definition at line 33 of file vnl_complex_ops.txx.

template<class T>
void vnl_complexify ( T const *  re,
T const *  im,
vcl_complex< T > *  dst,
unsigned  n 
)

Overwrite complex array C (of length n) with pairs from real arrays R and I.

Definition at line 26 of file vnl_complex_ops.txx.

template<class T>
void vnl_complexify ( T const *  src,
vcl_complex< T > *  dst,
unsigned  n 
)

Overwrite complex array C (sz n) with complexified version of real array R.

Definition at line 19 of file vnl_complex_ops.txx.

template<class T>
vnl_matrix<T> vnl_imag ( vnl_matrix< vcl_complex< T > > const &  C  )  [related]

Matrix of imaginary parts of vnl_matrix<vcl_complex<T> >.

Definition at line 120 of file vnl_complex_ops.txx.

template<class T>
vnl_vector<T> vnl_imag ( vnl_vector< vcl_complex< T > > const &  C  )  [related]

Vector of imaginary parts of vnl_vector<vcl_complex<T> >.

Definition at line 110 of file vnl_complex_ops.txx.

template<class T>
void vnl_imag ( vcl_complex< T > const *  C,
T *  I,
unsigned int  n 
)

Return array I of imaginary parts of complex array C.

Definition at line 102 of file vnl_complex_ops.txx.

template<class T>
vnl_matrix<T> vnl_real ( vnl_matrix< vcl_complex< T > > const &  C  )  [related]

Matrix of real parts of vnl_matrix<vcl_complex<T> >.

Definition at line 89 of file vnl_complex_ops.txx.

template<class T>
vnl_vector<T> vnl_real ( vnl_vector< vcl_complex< T > > const &  C  )  [related]

Vector of real parts of vnl_vector<vcl_complex<T> >.

Definition at line 79 of file vnl_complex_ops.txx.

template<class T>
void vnl_real ( vcl_complex< T > const *  C,
T *  R,
unsigned int  n 
)

Return array R of real parts of complex array C.

Definition at line 71 of file vnl_complex_ops.txx.


Generated on Fri Nov 21 05:06:16 2008 for core/vnl by  doxygen 1.5.1