Functions
vnl_imag.h File Reference

Functions to return the imaginary 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_imag (std::complex< T > const *C, T *I, unsigned int n)
 Return array I of imaginary parts of complex array C. More...
 
template<class T >
VNL_EXPORT vnl_vector< T > vnl_imag (vnl_vector< std::complex< T > > const &C)
 Vector of imaginary parts of vnl_vector<std::complex<T> >. More...
 
template<class T , unsigned int N>
vnl_vector_fixed< T, N > vnl_imag (vnl_vector_fixed< std::complex< T >, N > const &C)
 Vector of imaginary parts of vnl_vector_fixed<std::complex<T>, N >. More...
 
template<class T >
VNL_EXPORT vnl_matrix< T > vnl_imag (vnl_matrix< std::complex< T > > const &C)
 Matrix of imaginary parts of vnl_matrix<std::complex<T> >. More...
 
template<class T , unsigned int NRow, unsigned int NCol>
vnl_matrix_fixed< T, NRow, NCol > vnl_imag (vnl_matrix_fixed< std::complex< T >, NRow, NCol > const &C)
 Matrix of imaginary parts of vnl_matrix_fixed<std::complex<T>,NRow,NCol >. More...
 
template<class T >
VNL_EXPORT vnl_diag_matrix< T > vnl_imag (vnl_diag_matrix< std::complex< T > > const &C)
 Matrix of imaginary parts of vnl_diag_matrix<std::complex<T> >. More...
 
template<class T , unsigned int N>
vnl_diag_matrix_fixed< T, N > vnl_imag (vnl_diag_matrix_fixed< std::complex< T >, N > const &C)
 Matrix of imaginary parts of vnl_diag_matrix_fixed<std::complex<T> >. More...
 
template<class T >
VNL_EXPORT vnl_sym_matrix< T > vnl_imag (vnl_sym_matrix< std::complex< T > > const &C)
 Matrix of imaginary parts of vnl_sym_matrix<std::complex<T> >. More...
 

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

◆ vnl_imag() [1/8]

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

Return array I of imaginary parts of complex array C.

Return array I of imaginary parts of complex array C.

Definition at line 218 of file vnl_complex_ops.hxx.

◆ vnl_imag() [2/8]

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

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

Definition at line 227 of file vnl_complex_ops.hxx.

◆ vnl_imag() [3/8]

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

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

Definition at line 49 of file vnl_imag.h.

◆ vnl_imag() [4/8]

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

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

Definition at line 240 of file vnl_complex_ops.hxx.

◆ vnl_imag() [5/8]

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

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

Definition at line 69 of file vnl_imag.h.

◆ vnl_imag() [6/8]

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

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

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

Definition at line 253 of file vnl_complex_ops.hxx.

◆ vnl_imag() [7/8]

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

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

Definition at line 89 of file vnl_imag.h.

◆ vnl_imag() [8/8]

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

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

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

Definition at line 266 of file vnl_complex_ops.hxx.