|
MeVisLab Toolbox Reference
|
Templated support class for class MatrixTemplate to allow fast element access organisation by slicing 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 | |
| Slice_iter (std::valarray< T > *vv, std::slice ss) | |
| constructor: initialising slice-itterator for val-array | |
| Slice_iter< T > | end () const |
| returns itterator positioned on last-plus-one element | |
incrementor | |
| Slice_iter< T > & | operator++ () |
| standard itterator incrementation | |
| Slice_iter< T > | operator++ (int) |
| standard itterator incrementation | |
access | |
| T & | operator[] (size_t i) |
| C style subscript. | |
| T & | operator() (size_t i) |
| Fortran-style subscript. | |
| T & | operator* () |
| current element | |
Friends | |
comparison operators (free auxilary functions) | |
| bool | operator== (const Slice_iter< T > &p, const Slice_iter< T > &q) |
overload operator==(.,.) for Slice_iter objects | |
| bool | operator!= (const Slice_iter< T > &p, const Slice_iter< T > &q) |
overload operator!=(.,.) for Slice_iter objects | |
| bool | operator< (const Slice_iter< T > &p, const Slice_iter< T > &q) |
overload operator< (.,.) for Slice_iter objects | |
Templated support class for class MatrixTemplate to allow fast element access organisation by slicing This auxiliary class allows the access to matrix elements stored in an valarray by std::... algorithms using the itterator programming model.
Definition at line 49 of file mlMatrixTemplate.h.
|
inline |
constructor: initialising slice-itterator for val-array
Definition at line 58 of file mlMatrixTemplate.h.
|
inline |
returns itterator positioned on last-plus-one element
Definition at line 61 of file mlMatrixTemplate.h.
|
inline |
Fortran-style subscript.
Definition at line 77 of file mlMatrixTemplate.h.
|
inline |
current element
Definition at line 78 of file mlMatrixTemplate.h.
|
inline |
standard itterator incrementation
Definition at line 70 of file mlMatrixTemplate.h.
|
inline |
standard itterator incrementation
Definition at line 71 of file mlMatrixTemplate.h.
|
inline |
C style subscript.
Definition at line 76 of file mlMatrixTemplate.h.
|
friend |
overload operator!=(.,.) for Slice_iter objects
| q | non-equal |
Definition at line 97 of file mlMatrixTemplate.h.
|
friend |
overload operator< (.,.) for Slice_iter objects
| q | less |
Definition at line 103 of file mlMatrixTemplate.h.
|
friend |
overload operator==(.,.) for Slice_iter objects
| q | equal |
Definition at line 89 of file mlMatrixTemplate.h.