Functions to create complex vectors and matrices from real ones. More...
Go to the source code of this file.
Functions | |
template<class T > | |
void | vnl_complexify (T const *R, T const *I, vcl_complex< T > *C, unsigned n) |
Overwrite complex array C (of length n) with pairs from real arrays R and I. | |
template<class T > | |
void | vnl_complexify (T const *R, vcl_complex< T > *C, unsigned n) |
Overwrite complex array C (sz n) with complexified version of real array R. | |
template<class T > | |
vnl_vector< vcl_complex< T > > | vnl_complexify (vnl_vector< T > const &R) |
Return complexified version of real vector R. | |
template<class T > | |
vnl_vector< vcl_complex< T > > | vnl_complexify (vnl_vector< T > const &R, vnl_vector< T > const &I) |
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 &R) |
Return complexified version of real matrix R. | |
template<class T > | |
vnl_matrix< vcl_complex< T > > | vnl_complexify (vnl_matrix< T > const &R, vnl_matrix< T > const &I) |
Return complex matrix R+j*I from two real matrices R and I. |
Functions to create complex vectors and matrices from real ones.
Modifications Peter Vanroose - 2 July 2002 - part of vnl_complex_ops.h moved here
Definition in file vnl_complexify.h.
void vnl_complexify | ( | T const * | R, |
T const * | I, | ||
vcl_complex< T > * | C, | ||
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.
void vnl_complexify | ( | T const * | R, |
vcl_complex< T > * | C, | ||
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.
vnl_vector<vcl_complex<T> > vnl_complexify | ( | vnl_vector< T > const & | R | ) |
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 & | R, |
vnl_vector< T > const & | I | ||
) |
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 & | R | ) |
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 & | R, |
vnl_matrix< T > const & | I | ||
) |
Return complex matrix R+j*I from two real matrices R and I.
Definition at line 58 of file vnl_complex_ops.txx.