|
libidx
|
#include <idxiter.h>
Public Member Functions | |
| idxlooper (idx< T > &m, int ld) | |
| generic constructor loops over dimensin ld | |
| bool | notdone () |
| return true if loop is over | |
| T * | next () |
| increment to next item. Return pointer to data. | |
| void | operator++ () |
Protected Attributes | |
| intg | i |
| intg | dimd |
| intg | modd |
idxlooper: a kind of iterator used by bloop and eloop macros. idxlooper is a subclass of idx, It is used as follows: for (idxlooper z(&idx,0); z.notdone(); z.next()) { .... }