Go to the source code of this file.
Defines | |
#define | vnl_complex_ops_txx_ |
#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) |
Return complexified version of real vector R. | |
template<class T > | |
vnl_vector< vcl_complex< T > > | vnl_complexify (vnl_vector< T > const &re, vnl_vector< T > const &im) |
Return complex vector R+j*I from two real vectors R and I. | |
template<class T > | |
vnl_matrix< vcl_complex< T > > | vnl_complexify (vnl_matrix< T > const &M) |
Return complexified version of real matrix R. | |
template<class T > | |
vnl_matrix< vcl_complex< T > > | vnl_complexify (vnl_matrix< T > const &re, vnl_matrix< T > const &im) |
Return complex matrix R+j*I from two real matrices R and I. | |
template<class T > | |
void | vnl_real (vcl_complex< T > const *C, T *R, unsigned int n) |
Return array of real parts of complex array. | |
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 of imaginary parts of complex array. | |
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> >. |
Definition in file vnl_complex_ops.txx.
#define VNL_COMPLEX_OPS_INSTANTIATE | ( | T | ) |
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.
#define vnl_complex_ops_txx_ |
Definition at line 3 of file vnl_complex_ops.txx.
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.
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.
vnl_vector< vcl_complex< T > > vnl_complexify | ( | vnl_vector< T > const & | v | ) |
Return complexified version of real vector R.
Definition at line 33 of file vnl_complex_ops.txx.
vnl_vector< vcl_complex< T > > vnl_complexify | ( | vnl_vector< T > const & | re, |
vnl_vector< T > const & | im | ||
) |
Return complex vector R+j*I from two real vectors R and I.
Definition at line 41 of file vnl_complex_ops.txx.
vnl_matrix< vcl_complex< T > > vnl_complexify | ( | vnl_matrix< T > const & | M | ) |
Return complexified version of real matrix R.
Definition at line 50 of file vnl_complex_ops.txx.
vnl_matrix< vcl_complex< T > > vnl_complexify | ( | vnl_matrix< T > const & | re, |
vnl_matrix< T > const & | im | ||
) |
Return complex matrix R+j*I from two real matrices R and I.
Definition at line 58 of file vnl_complex_ops.txx.
void vnl_imag | ( | vcl_complex< T > const * | C, |
T * | I, | ||
unsigned int | n | ||
) |
Return array of imaginary parts of complex array.
Return array I of imaginary parts of complex array C.
Definition at line 102 of file vnl_complex_ops.txx.
vnl_vector< T > vnl_imag | ( | vnl_vector< vcl_complex< T > > const & | C | ) |
Vector of imaginary parts of vnl_vector<vcl_complex<T> >.
Definition at line 110 of file vnl_complex_ops.txx.
vnl_matrix< T > vnl_imag | ( | vnl_matrix< vcl_complex< T > > const & | C | ) |
Matrix of imaginary parts of vnl_matrix<vcl_complex<T> >.
Definition at line 120 of file vnl_complex_ops.txx.
void vnl_real | ( | vcl_complex< T > const * | C, |
T * | R, | ||
unsigned int | n | ||
) |
Return array of real parts of complex array.
Return array R of real parts of complex array C.
Definition at line 71 of file vnl_complex_ops.txx.
vnl_vector< T > vnl_real | ( | vnl_vector< vcl_complex< T > > const & | C | ) |
Vector of real parts of vnl_vector<vcl_complex<T> >.
Definition at line 79 of file vnl_complex_ops.txx.
vnl_matrix< T > vnl_real | ( | vnl_matrix< vcl_complex< T > > const & | C | ) |
Matrix of real parts of vnl_matrix<vcl_complex<T> >.
Definition at line 89 of file vnl_complex_ops.txx.