Rev 11240 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11240 | Rev 11288 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | syntax:!recursion `fn' for `v'=`v1' to `v2' [step `st']\ |
4 | syntax:!recursion `fn' for `v'=`v1' to `v2' [step `st']\ |
5 | $ !recursion `fn' for `v' in `v1,v2,v3,...' |
5 | $ !recursion `fn' for `v' in `v1,v2,v3,...' |
6 | mean:Computes the outcome of a recursion using the function `fn' in which the\ |
6 | mean:Computes the outcome of a recursion using the function `fn' in which the\ |
7 | variable `v' is replaced successively by values `v1', ..., `v2'. <p>\ |
7 | variable `v' is replaced successively by values `v1', ..., `v2'. <p>\ |
8 | In the second syntax, the values are given with respect to each item in\ |
8 | In the second syntax, the values are given with respect to each item in\ |
9 | the list `v1,v2,...'. <p>\ |
9 | the list `v1,v2,...'. </p><p>\ |
10 | The function `fn' should use the variable `last' to indicate the value of the previous \ |
10 | The function `fn' should use the variable `last' to indicate the value of the previous \ |
11 | recursion step. And the starting value can be put into the WIMS variable\ |
11 | recursion step. And the starting value can be put into the WIMS variable\ |
12 | <span class="tt">$recursion_start</span>. </p> |
12 | <span class="tt">$recursion_start</span>. </p> |