Rev 5766 | Rev 5921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5766 | Rev 5920 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | $emph v1,v2,v3,...$emphend</tt> |
6 | $emph v1,v2,v3,...$emphend</tt> |
7 | $lst_mean Outputs a list consisting of $emph templ$emphend with |
7 | $lst_mean Outputs a list consisting of $emph templ$emphend with |
8 | variable $emph v $emphend successively substituted by values $emph v1$emphend, |
8 | variable $emph v $emphend successively substituted by values $emph v1$emphend, |
9 | ..., $emph v2$emphend. <p> |
9 | ..., $emph v2$emphend. <p> |
10 | In the second syntax, the substitutions are done with respect to each item in |
10 | In the second syntax, the substitutions are done with respect to each item in |
11 | the list $emph v1,v2,...$emphend. <p> |
11 | the list $emph v1,v2,...$emphend. </p><p> |
12 | The variable $emph v $emphend should appear in $emph templ $emphend |
12 | The variable $emph v $emphend should appear in $emph templ $emphend |
13 | as a math variable (that is, with no preceeding character). <p> |
13 | as a math variable (that is, with no preceeding character). </p><p> |
14 | For example, the command |
14 | For example, the command</p> |
15 | <pre>!makelist [x;x+1;xx] for x in a,x and y,1,(2,3)</pre> |
15 | <pre>!makelist [x;x+1;xx] for x in a,x and y,1,(2,3)</pre> |
16 | gives the result |
16 | gives the result |
17 | <pre> |
17 | <pre> |
18 | !makelist [x;x+1;xx] for x in a,x and y,1,(2,3) |
18 | !makelist [x;x+1;xx] for x in a,x and y,1,(2,3) |
19 | </pre> |
19 | </pre> |
20 | - |