Functions
core/vnl/vnl_real.h File Reference

Functions to return the real 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_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> >.

Detailed Description

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

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

Definition in file vnl_real.h.


Function Documentation

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.

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

Definition at line 79 of file vnl_complex_ops.txx.

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

Definition at line 89 of file vnl_complex_ops.txx.