CNORXZ
Container with Native Operation Routines and Expressions
|
#include <srange.h>
Public Types | |
typedef IndexInterface< SIndex< MetaT, S >, MetaT > | IB |
typedef SRange< MetaT, S > | RangeType |
typedef MetaT | MetaType |
Additional Inherited Members | |
Protected Attributes inherited from CNORXZ::IndexInterface< SIndex< MetaT, S >, MetaT > | |
SizeT | mPos |
typedef IndexInterface<SIndex<MetaT,S>,MetaT> CNORXZ::SIndex< MetaT, S >::IB |
Construct index from range and position.
range | Range to iterate over. |
pos | lexicographic position. |
Definition at line 25 of file srange.cc.h.
set index position so that it's meta data matches input
meta | meta data to be matched |
Definition at line 149 of file srange.cc.h.
recursive index format
Definition at line 174 of file srange.cc.h.
max of all single-indices (recursive)
Definition at line 180 of file srange.cc.h.
default constructors and assignments
index dimension
Definition at line 118 of file srange.cc.h.
check is format is trivial
Definition at line 203 of file srange.cc.h.
index ID
Definition at line 106 of file srange.cc.h.
create a for-loop expression
Xpr | loop internal expression |
F | accumulating function |
xpr | loop internal expression |
f | accumulating function |
Definition at line 197 of file srange.cc.h.
CNORXZ::SIndex< MetaT, S >::INDEX_RANDOM_ACCESS_ITERATOR_DEFS | ( | MetaType | ) |
lexicographic position
Definition at line 88 of file srange.cc.h.
maximal lexicographic position
Definition at line 100 of file srange.cc.h.
return meta data at current index position
Definition at line 143 of file srange.cc.h.
const MetaT & CNORXZ::SIndex< MetaT, S >::operator* | ( | ) | const |
return meta data at current index position
Definition at line 112 of file srange.cc.h.
SIndex< MetaT, S > CNORXZ::SIndex< MetaT, S >::operator+ | ( | Int | n | ) | const |
return index with lexicographic index position incremented n times
n |
Definition at line 56 of file srange.cc.h.
SIndex< MetaT, S > & CNORXZ::SIndex< MetaT, S >::operator++ | ( | ) |
increment lexicographic index position
Definition at line 42 of file srange.cc.h.
SIndex< MetaT, S > & CNORXZ::SIndex< MetaT, S >::operator+= | ( | Int | n | ) |
increment lexicographic index position n times
n |
Definition at line 74 of file srange.cc.h.
SizeT CNORXZ::SIndex< MetaT, S >::operator- | ( | const SIndex< MetaT, S > & | i | ) | const |
Definition at line 68 of file srange.cc.h.
SIndex< MetaT, S > CNORXZ::SIndex< MetaT, S >::operator- | ( | Int | n | ) | const |
return index with lexicographic index position decremented n times
n |
Definition at line 62 of file srange.cc.h.
SIndex< MetaT, S > & CNORXZ::SIndex< MetaT, S >::operator-- | ( | ) |
decrement lexicographic index position
Definition at line 49 of file srange.cc.h.
SIndex< MetaT, S > & CNORXZ::SIndex< MetaT, S >::operator-= | ( | Int | n | ) |
decrement lexicographic index position n times
n |
Definition at line 81 of file srange.cc.h.
SIndex< MetaT, S > & CNORXZ::SIndex< MetaT, S >::operator= | ( | SizeT | lexpos | ) |
Definition at line 35 of file srange.cc.h.
maximal memory position
Definition at line 94 of file srange.cc.h.
create partial range starting at this index' position and ending at the position of input index. The end position is included!
end | end index |
Definition at line 162 of file srange.cc.h.
pointer to the range the index is defined on
Definition at line 124 of file srange.cc.h.
SIndex< MetaT, S > & CNORXZ::SIndex< MetaT, S >::reformat | ( | const Vector< SizeT > & | f, |
const Vector< SizeT > & | s ) |
reformat index, create new index instance
f | new format |
s | new sub-index sizes |
Definition at line 186 of file srange.cc.h.
return the memory step size this index has w.r.t. to index of given ID
J | static index ID, size type |
id | input index ID |
Definition at line 131 of file srange.cc.h.
return string formatted meta data at current index position
Definition at line 137 of file srange.cc.h.
create a for-loop expression
Xpr | loop internal expression |
F | accumulating function |
xpr | loop internal expression |
f | accumulating function |
Definition at line 156 of file srange.cc.h.