MeVisLab Toolbox Reference
|
Templated support class for class MatrixTemplate to allow fast element access organisation by slicing using const references This auxiliary class allows the access to matrix elements stored in an valarray by std::... algorithms using the itterator programming model. More...
#include <mlMatrixTemplate.h>
Public Member Functions | |
Cslice_iter (std::valarray< T > *vv, std::slice ss) | |
constructor: initialising slice-itterator for val-array | |
Cslice_iter< T > | end () const |
returns itterator positioned on last-plus-one element | |
incrementor | |
Cslice_iter< T > & | operator++ () |
standard itterator incrementation | |
Cslice_iter< T > | operator++ (int) |
standard itterator incrementation | |
access | |
const T & | operator[] (size_t i) const |
C style subscript. | |
const T & | operator() (size_t i) const |
Fortran-style subscript. | |
const T & | operator* () const |
current element | |
Friends | |
comparison operators (free auxilary functions) | |
bool | operator== (const Cslice_iter< T > &p, const Cslice_iter< T > &q) |
overload operator== (.,.) for Cslice_iter objects | |
bool | operator!= (const Cslice_iter< T > &p, const Cslice_iter< T > &q) |
overload operator!= (.,.) for Cslice_iter objects | |
bool | operator< (const Cslice_iter< T > &p, const Cslice_iter< T > &q) |
overload operator< (.,.) for Cslice_iter objects | |
Templated support class for class MatrixTemplate to allow fast element access organisation by slicing using const references This auxiliary class allows the access to matrix elements stored in an valarray by std::... algorithms using the itterator programming model.
Definition at line 121 of file mlMatrixTemplate.h.
|
inline |
constructor: initialising slice-itterator for val-array
Definition at line 131 of file mlMatrixTemplate.h.
|
inline |
returns itterator positioned on last-plus-one element
Definition at line 134 of file mlMatrixTemplate.h.
|
inline |
Fortran-style subscript.
Definition at line 150 of file mlMatrixTemplate.h.
References mlrange_cast().
|
inline |
current element
Definition at line 151 of file mlMatrixTemplate.h.
|
inline |
standard itterator incrementation
Definition at line 143 of file mlMatrixTemplate.h.
|
inline |
standard itterator incrementation
Definition at line 144 of file mlMatrixTemplate.h.
|
inline |
|
friend |
overload operator!=
(.,.) for Cslice_iter objects
q | non-equal |
Definition at line 170 of file mlMatrixTemplate.h.
|
friend |
overload operator<
(.,.) for Cslice_iter objects
q | less |
Definition at line 176 of file mlMatrixTemplate.h.
|
friend |
overload operator==
(.,.) for Cslice_iter objects
q | equal |
Definition at line 162 of file mlMatrixTemplate.h.