Clean mathematical notation of a for-loop
Just write
for .
You find this form often in books on numerics like Numerical Recipes (e.g., page 57).
If you have larger sections of code an alternative is to use pseudo-code.
Just write
for .
You find this form often in books on numerics like Numerical Recipes (e.g., page 57).
If you have larger sections of code an alternative is to use pseudo-code.