Question: problems with multiple FOR loops

Hello!

I am rather new to maple and have a few questions considering one of my programs.

1. In my program I use 9 nested for loops. Despite trying to figure something out, I couldnt come up with a way of using less for loops.

2. In some of the for loops I want to start the loop from a variable of the for loop above it. Maple doesnt seem to be very happy about this.

3. I want to make a list of all the results produced by the for loops. However not every loop produces a result. I am a bit confused about how to tell maple to collect all output into a list.

4. Any time-tweaking changes are very very welcome, since 9 nested loops do take a looong time to compute.

 

 

 

File Included:    all_results.mws

Please Wait...