Underlying data structures. More...

Go to the source code of this file.
Data Structures | |
| class | GSlice_iter< T > |
| class | GSlice_iter< T > |
| class | CGSlice_iter< T > |
| class | CGSlice_iter< T > |
| class | Array2D< T > |
| class | Array2D_cmplx< T > |
| class | Array3D< T > |
| class | Array3D_cmplx< T > |
| class | Array4D< T > |
| class | Array4D_cmplx< T > |
Functions | |
| template<class T > | |
| bool | operator== (const GSlice_iter< T > &, const GSlice_iter< T > &) |
| template<class T > | |
| bool | operator!= (const GSlice_iter< T > &, const GSlice_iter< T > &) |
| template<class T > | |
| bool | operator< (const GSlice_iter< T > &, const GSlice_iter< T > &) |
| template<class T > | |
| bool | operator== (const CGSlice_iter< T > &, const CGSlice_iter< T > &) |
| template<class T > | |
| bool | operator!= (const CGSlice_iter< T > &, const CGSlice_iter< T > &) |
| template<class T > | |
| bool | operator< (const CGSlice_iter< T > &, const CGSlice_iter< T > &) |
Underlying data structures.
This header file contains the definitions for multidimensional (2D to 4D) array types. These types define the following: –> Fortan-style access to the underlying valarray (_,_,_)
–> "=, *=, +=, -="
–> Slices of the array given a range of indices in a specific dimension
–> Multiplication with a valarray.
–> Central difference
–> Subsets of the given array
Notice that these array-containers are closer to Fortran-style arrays than to standard Matrix types, particularly because they are not intended to facilitate standard Matrix algebra. No error-checking is included.
The following classes are defined:
3.a.template<class t>=""> class Array2D : a 2D container with basic access and algebra
3.b.template<class t>=""> class Array2D_cmplx : a 2D container of complex with basic access and algebra
4.a.template<class t>=""> class Array3D : a 3D container
4.b.template<class t>=""> class Array3D_cmplx : a 3D container of complex with basic access and algebra
5.a.template<class t>=""> class Array4D : a 4D container
5.b.template<class t>=""> class Array4D_cmplx : a 4D container of complex with basic access and algebra
Definition in file lib-array.h.
| bool operator!= | ( | const GSlice_iter< T > & | p, |
| const GSlice_iter< T > & | q | ||
| ) |
Definition at line 146 of file lib-array.h.
| bool operator!= | ( | const CGSlice_iter< T > & | p, |
| const CGSlice_iter< T > & | q | ||
| ) |
Definition at line 248 of file lib-array.h.
| bool operator< | ( | const GSlice_iter< T > & | p, |
| const GSlice_iter< T > & | q | ||
| ) |
Definition at line 151 of file lib-array.h.
| bool operator< | ( | const CGSlice_iter< T > & | p, |
| const CGSlice_iter< T > & | q | ||
| ) |
Definition at line 253 of file lib-array.h.
| bool operator== | ( | const GSlice_iter< T > & | p, |
| const GSlice_iter< T > & | q | ||
| ) |
Definition at line 136 of file lib-array.h.
References GSlice_iter< T >::curr, and GSlice_iter< T >::gs.
| bool operator== | ( | const CGSlice_iter< T > & | p, |
| const CGSlice_iter< T > & | q | ||
| ) |
Definition at line 238 of file lib-array.h.
References CGSlice_iter< T >::curr, and CGSlice_iter< T >::gs.