Functions
core/vnl/vnl_imag.h File Reference

Functions to return the imaginary parts of complex arrays, vectors, matrices. More...

#include <vcl_complex.h>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_matrix.h>

Go to the source code of this file.

Functions

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> >.

Detailed Description

Functions to return the imaginary parts of complex arrays, vectors, matrices.

   Modifications
   Peter Vanroose - 2 July 2002 - part of vnl_complex_ops.h moved here
   

Definition in file vnl_imag.h.


Function Documentation

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_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.

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 at line 120 of file vnl_complex_ops.txx.