#include <complexdata.h>

Public Member Functions | |
| ComplexData () | |
| ComplexData (const TinyVector< int, N_rank > &dimvec, const STD_complex &val=0) | |
| ComplexData (int extent1) | |
| ComplexData (const ComplexData< N_rank > &cd) | |
| ComplexData (const Data< STD_complex, N_rank > &a) | |
| ComplexData< N_rank > & | operator= (const ComplexData< N_rank > &d) |
| ComplexData< N_rank > & | operator= (const Array< STD_complex, N_rank > &a) |
| ComplexData< N_rank > & | operator= (const STD_complex &val) |
| template<class T_expr> | |
| ComplexData< N_rank > & | operator= (BZ_ETPARM(_bz_ArrayExpr< T_expr >) expr) |
| Array< STD_complex, N_rank > | operator+ (const ComplexData< N_rank > &b) const |
| Array< STD_complex, N_rank > | operator- (const ComplexData< N_rank > &b) const |
| Array< STD_complex, N_rank > | operator* (const ComplexData< N_rank > &b) const |
| Array< STD_complex, N_rank > | operator/ (const ComplexData< N_rank > &b) const |
| void | fft (bool forward=true, bool cyclic_shift=true) |
| void | partial_fft (const TinyVector< bool, N_rank > &do_fft, bool forward=true, bool cyclic_shift=true) |
| void | modulate_offset (const TinyVector< float, N_rank > &rel_offset) |
| void | shift_subpixel (const TinyVector< float, N_rank > &shiftvec) |
| Data< float, N_rank > | phasemap () const |
Definition at line 43 of file complexdata.h.
| ComplexData< N_rank >::ComplexData | ( | ) | [inline] |
Default constructor
Definition at line 50 of file complexdata.h.
| ComplexData< N_rank >::ComplexData | ( | const TinyVector< int, N_rank > & | dimvec, | |
| const STD_complex & | val = 0 | |||
| ) | [inline] |
Constructs a complex array with the given dimensionality
Definition at line 56 of file complexdata.h.
| ComplexData< N_rank >::ComplexData | ( | int | extent1 | ) | [inline] |
Constructor with a variable list of arguments to specify the extend in each dimension, the number of args must match N_rank
Definition at line 64 of file complexdata.h.
| ComplexData< N_rank >::ComplexData | ( | const ComplexData< N_rank > & | cd | ) | [inline] |
Copy constructor
Definition at line 78 of file complexdata.h.
| ComplexData< N_rank >::ComplexData | ( | const Data< STD_complex, N_rank > & | a | ) | [inline] |
Copy constructor from Data
Definition at line 84 of file complexdata.h.
| ComplexData<N_rank>& ComplexData< N_rank >::operator= | ( | const ComplexData< N_rank > & | d | ) | [inline] |
Assignment operator
Definition at line 90 of file complexdata.h.
| ComplexData<N_rank>& ComplexData< N_rank >::operator= | ( | const Array< STD_complex, N_rank > & | a | ) | [inline] |
Assignment operator from Blitz::Array
Reimplemented from Data< STD_complex, N_rank >.
Definition at line 96 of file complexdata.h.
| ComplexData<N_rank>& ComplexData< N_rank >::operator= | ( | const STD_complex & | val | ) | [inline] |
Fills all elements with 'val'
Reimplemented from Data< STD_complex, N_rank >.
Definition at line 102 of file complexdata.h.
| ComplexData<N_rank>& ComplexData< N_rank >::operator= | ( | BZ_ETPARM(_bz_ArrayExpr< T_expr >) | expr | ) | [inline] |
Assignment operator for expression templates
Reimplemented from Data< STD_complex, N_rank >.
Definition at line 109 of file complexdata.h.
| Array<STD_complex,N_rank> ComplexData< N_rank >::operator+ | ( | const ComplexData< N_rank > & | b | ) | const [inline] |
Element-wise + operator for 2 arrays
Definition at line 119 of file complexdata.h.
| Array<STD_complex,N_rank> ComplexData< N_rank >::operator- | ( | const ComplexData< N_rank > & | b | ) | const [inline] |
Element-wise - operator for 2 arrays
Definition at line 126 of file complexdata.h.
| Array<STD_complex,N_rank> ComplexData< N_rank >::operator* | ( | const ComplexData< N_rank > & | b | ) | const [inline] |
Element-wise * operator for 2 arrays
Definition at line 133 of file complexdata.h.
| Array<STD_complex,N_rank> ComplexData< N_rank >::operator/ | ( | const ComplexData< N_rank > & | b | ) | const [inline] |
Element-wise / operator for 2 arrays
Definition at line 140 of file complexdata.h.
| void ComplexData< N_rank >::fft | ( | bool | forward = true, |
|
| bool | cyclic_shift = true | |||
| ) | [inline] |
Performs an in-place FFT with the following properties:
Definition at line 195 of file complexdata.h.
| void ComplexData< N_rank >::partial_fft | ( | const TinyVector< bool, N_rank > & | do_fft, | |
| bool | forward = true, |
|||
| bool | cyclic_shift = true | |||
| ) | [inline] |
Performs an in-place FFT over a partial number of dimensions with the following properties:
Definition at line 223 of file complexdata.h.
| void ComplexData< N_rank >::modulate_offset | ( | const TinyVector< float, N_rank > & | rel_offset | ) | [inline] |
Modulate a phase gradient onto the array so that after FFT, the data will be shifted in each dimension by 'rel_offset' which is given as a fraction relative to the full size, i.e. a value of 0.5 shifts the array by half its size.
Definition at line 294 of file complexdata.h.
| void ComplexData< N_rank >::shift_subpixel | ( | const TinyVector< float, N_rank > & | shiftvec | ) | [inline] |
Shift the data by the number of pixels given in 'shiftvec' for each dimension using the FFT, i.e. this is possible even with fractions.
Definition at line 307 of file complexdata.h.
| Data< float, N_rank > ComplexData< N_rank >::phasemap | ( | ) | const [inline] |
Returns the phase of the complex array, whereby the phase is unwrapped in the last dimension
Definition at line 333 of file complexdata.h.
1.5.6