Functions
vnl_real.h File Reference

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

#include <complex>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix.h>
#include <vnl/vnl_matrix_fixed.h>
#include <vnl/vnl_diag_matrix.h>
#include <vnl/vnl_diag_matrix_fixed.h>
#include <vnl/vnl_sym_matrix.h>
#include "vnl/vnl_export.h"

Go to the source code of this file.

Functions

template<class T >
VNL_EXPORT void vnl_real (std::complex< T > const *C, T *R, unsigned int n)
 Return array R of real parts of complex array C. More...
 
template<class T >
VNL_EXPORT vnl_vector< T > vnl_real (vnl_vector< std::complex< T > > const &C)
 Vector of real parts of vnl_vector<std::complex<T> >. More...
 
template<class T , unsigned int N>
vnl_vector_fixed< T, N > vnl_real (vnl_vector_fixed< std::complex< T >, N > const &C)
 Vector of real parts of vnl_vector_fixed<std::complex<T>, N >. More...
 
template<class T >
VNL_EXPORT vnl_matrix< T > vnl_real (vnl_matrix< std::complex< T > > const &C)
 Matrix of real parts of vnl_matrix<std::complex<T> >. More...
 
template<class T , unsigned int NRow, unsigned int NCol>
vnl_matrix_fixed< T, NRow, NCol > vnl_real (vnl_matrix_fixed< std::complex< T >, NRow, NCol > const &C)
 Matrix of real parts of vnl_matrix_fixed<std::complex<T>,NRow,NCol >. More...
 
template<class T >
VNL_EXPORT vnl_diag_matrix< T > vnl_real (vnl_diag_matrix< std::complex< T > > const &C)
 Matrix of real parts of vnl_diag_matrix<std::complex<T> >. More...
 
template<class T , unsigned int N>
vnl_diag_matrix_fixed< T, N > vnl_real (vnl_diag_matrix_fixed< std::complex< T >, N > const &C)
 Matrix of real parts of vnl_diag_matrix_fixed<std::complex<T> >. More...
 
template<class T >
VNL_EXPORT vnl_sym_matrix< T > vnl_real (vnl_sym_matrix< std::complex< T > > const &C)
 Matrix of real parts of vnl_sym_matrix<std::complex<T> >. More...
 

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

◆ vnl_real() [1/8]

template<class T >
VNL_EXPORT void vnl_real ( std::complex< T > const *  C,
T *  R,
unsigned int  n 
)

Return array R of real parts of complex array C.

Return array R of real parts of complex array C.

Definition at line 147 of file vnl_complex_ops.hxx.

◆ vnl_real() [2/8]

template<class T >
VNL_EXPORT vnl_vector< T > vnl_real ( vnl_vector< std::complex< T > > const &  C)

Vector of real parts of vnl_vector<std::complex<T> >.

Definition at line 156 of file vnl_complex_ops.hxx.

◆ vnl_real() [3/8]

template<class T , unsigned int N>
vnl_vector_fixed< T, N > vnl_real ( vnl_vector_fixed< std::complex< T >, N > const &  C)

Vector of real parts of vnl_vector_fixed<std::complex<T>, N >.

Definition at line 49 of file vnl_real.h.

◆ vnl_real() [4/8]

template<class T >
VNL_EXPORT vnl_matrix< T > vnl_real ( vnl_matrix< std::complex< T > > const &  C)

Matrix of real parts of vnl_matrix<std::complex<T> >.

Definition at line 169 of file vnl_complex_ops.hxx.

◆ vnl_real() [5/8]

template<class T , unsigned int NRow, unsigned int NCol>
vnl_matrix_fixed< T, NRow, NCol > vnl_real ( vnl_matrix_fixed< std::complex< T >, NRow, NCol > const &  C)

Matrix of real parts of vnl_matrix_fixed<std::complex<T>,NRow,NCol >.

Definition at line 69 of file vnl_real.h.

◆ vnl_real() [6/8]

template<class T >
VNL_EXPORT vnl_diag_matrix< T > vnl_real ( vnl_diag_matrix< std::complex< T > > const &  C)

Matrix of real parts of vnl_diag_matrix<std::complex<T> >.

Definition at line 182 of file vnl_complex_ops.hxx.

◆ vnl_real() [7/8]

template<class T , unsigned int N>
vnl_diag_matrix_fixed< T, N > vnl_real ( vnl_diag_matrix_fixed< std::complex< T >, N > const &  C)

Matrix of real parts of vnl_diag_matrix_fixed<std::complex<T> >.

Definition at line 89 of file vnl_real.h.

◆ vnl_real() [8/8]

template<class T >
VNL_EXPORT vnl_sym_matrix< T > vnl_real ( vnl_sym_matrix< std::complex< T > > const &  C)

Matrix of real parts of vnl_sym_matrix<std::complex<T> >.

Definition at line 195 of file vnl_complex_ops.hxx.