Nested for loops and two costly loops

Re: Nested for loops and two costly loops

by Ramses van Zon -
Number of replies: 0

No, the idea is that this nested loop counts as one loop.  Here, we're looping over a grid, and doing the same thing for each grid point; the only reason that there are two "for" statements is because it is a 2d grid. So you should find a second loop.