LoopIndex replace a loop over a matrix
LoopIndex replace a loop over a matrix
Index ref_t
Explanation
double a[10];
for( i=0 ; i<10 ; i++) a[i] = i*2;
is replace by
sl::TinyVector<double,10> a;
sl::LoopIndex i;
a(i) = 2*i;
We can of course do the same with a matrix with one or two loopindex.
Example
constructor(s), destructor
set/get members
ref_t my_i
ref_t* my_i_ref
const my_isConstant
LoopIndex operator=( LoopIndex const& rhs )
Alphabetic index HTML hierarchy of classes or Java