size_t _Start
Definition: valarray:1213
size_t _Off(_Sizarray &_Indexarr) const
Definition: valarray:1186
_Sizarray _Len
Definition: valarray:1214
_Sizarray _Stride
Definition: valarray:1215
size_t _Start
Definition: valarray:1213
size_t gslice::_Nslice |
( |
| ) |
const |
|
inline |
_Sizarray _Len
Definition: valarray:1214
size_t size() const
Definition: valarray:312
1188 size_t _Idx, _Ans =
_Start;
1190 for (_Idx = 0; _Idx < _Indexarr.
size(); ++_Idx)
1191 _Ans += _Indexarr[_Idx] *
_Stride[_Idx];
1194 if (++_Indexarr[_Idx] <
_Len[_Idx])
1197 _Indexarr[_Idx] = 0;
_Sizarray _Len
Definition: valarray:1214
size_t size() const
Definition: valarray:312
_Sizarray _Stride
Definition: valarray:1215
size_t _Start
Definition: valarray:1213
size_t gslice::_Totlen |
( |
| ) |
const |
|
inline |
1207 for (
size_t _Idx = 0; ++_Idx <
_Len.
size(); )
1208 _Count *=
_Len[_Idx];
_Sizarray _Len
Definition: valarray:1214
size_t size() const
Definition: valarray:312
_Diff _Count
Definition: algorithm:1941
_Sizarray _Len
Definition: valarray:1214
size_t gslice::start |
( |
| ) |
const |
|
inline |
size_t _Start
Definition: valarray:1213
_Sizarray _Stride
Definition: valarray:1215
The documentation for this class was generated from the following file: