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::... More...
#include <mlMatrixTemplate.h>
Public Member Functions | |
Cslice_iter (std::valarray< T > *vv, std::slice ss) | |
constructor: initialising slice-itterator for val-array More... | |
Cslice_iter< T > | end () const |
returns itterator positioned on last-plus-one element More... | |
incrementor | |
Cslice_iter< T > & | operator++ () |
standard itterator incrementation More... | |
Cslice_iter< T > | operator++ (int) |
standard itterator incrementation More... | |
access | |
const T & | operator[] (size_t i) const |
C style subscript. More... | |
const T & | operator() (size_t i) const |
Fortran-style subscript. More... | |
const T & | operator* () const |
current element More... | |
Friends | |
comparison operators (free auxilary functions) | |
bool | operator== (const Cslice_iter< T > &p, const Cslice_iter< T > &q) |
overload operator== (.,.) for Cslice_iter objects More... | |
bool | operator!= (const Cslice_iter< T > &p, const Cslice_iter< T > &q) |
overload operator!= (.,.) for Cslice_iter objects More... | |
bool | operator< (const Cslice_iter< T > &p, const Cslice_iter< T > &q) |
overload operator< (.,.) for Cslice_iter objects More... | |
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.
Referenced by ml::mul_mv(), and ml::operator*().
|
inline |
Fortran-style subscript.
Definition at line 150 of file mlMatrixTemplate.h.
|
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 |
C style subscript.
Definition at line 149 of file mlMatrixTemplate.h.
|
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.