A local variable for double is defined in the following way:
double x; Local_var loc_x(&x);Now, loc_x can be used in an expression. A local variable is helpful for the construction of a block Gauss-Seidel iteration. An example can be found here .
int j; Local_int J(&j);These local variables are helpfull for iterations:
Example:
Last
modified: Tue Feb 22 11:08:52 MET 2000
...
int j;
Local_int J(&j);
...
u = u * 2.0 &
For(J,0,4) (u == u + 1.0 &
u == u * 3.0);
Handbook