15 # include <vcl_msvc_warnings.h> 24 #include "vnl/vnl_export.h" 27 template <
class T> VNL_EXPORT
29 vnl_imag(std::complex<T>
const* C, T* I,
unsigned int n);
41 template <
class T> VNL_EXPORT
47 template <
class T,
unsigned int N>
54 for (; cIt != C.
end(); ++cIt, ++rIt)
55 *rIt = std::imag(*cIt);
61 template <
class T> VNL_EXPORT
67 template <
class T,
unsigned int NRow,
unsigned int NCol>
74 for (; cIt != C.
end(); ++cIt, ++rIt)
75 *rIt = std::imag(*cIt);
81 template <
class T> VNL_EXPORT
87 template <
class T,
unsigned int N>
94 for (; cIt != C.
end(); ++cIt, ++rIt)
95 *rIt = std::imag(*cIt);
101 template <
class T> VNL_EXPORT
106 #endif // vnl_imag_h_ An ordinary mathematical matrix.
Fixed size, stack-stored, space-efficient matrix.
iterator end()
Iterator pointing to element beyond end of data.
Contains class for symmetric matrices.
iterator end()
Iterator pointing to element beyond end of data.
An ordinary mathematical matrix.
VNL_EXPORT vnl_vector< T > vnl_imag(vnl_vector< std::complex< T > > const &C)
Vector of imaginary parts of vnl_vector<std::complex<T> >.
Mathematical vector class, templated by type of element.
Fixed length stack-stored vector.
iterator begin()
Iterator pointing to start of data.
stores a diagonal matrix as a single vector.
stores a diagonal matrix as a single vector.
Contains class for diagonal matrices.
iterator begin()
Iterator pointing to start of data.
vnl_vector_fixed< T, N >::iterator iterator
stores a symmetric matrix as just the diagonal and lower triangular part.
Contains class for diagonal matrices.