How do I ask Maple to skip an integer in a loop? Something like:
for i from 0 to n do
for j from 0 to n, j<>i, do ...
(I want j to skip i.)
|
How do I ask Maple to skip an integer in a loop? Something like: for i from 0 to n do for j from 0 to n, j<>i, do ... (I want j to skip i.) |
|||
|
|
Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
Well you can always use an if statement:
|
|||
|
|