Rev 5755 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5755 | Rev 5903 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | :items( ) |
3 | :items( ) |
4 | items(a,b,c,d,e,f) |
4 | items(a,b,c,d,e,f) |
5 | the number of items (here it's 6) in the list {a,b,c,d,e,f} |
5 | the number of items (here it's 6) in the list {a,b,c,d,e,f} |
6 | :item( ) |
6 | :item( ) |
7 | item(3,a,b,c,d,e,f) |
7 | item(3,a,b,c,d,e,f) |
8 | item number 3 of the list {a,b,c,d,e,f} (hence c) ; < |
8 | item number 3 of the list {a,b,c,d,e,f} (hence c) ; <span class="tt wims_code_words">item(3,\ll)</span> is the item number 3 of the list \ll (same as <span class="tt wims_code_variable">\ll[3]</span>) |
9 | :item( .. , ) |
9 | :item( .. , ) |
10 | item(2..5,a,b,c,d,e,f) |
10 | item(2..5,a,b,c,d,e,f) |
11 | items number 2 to 5 of the list {a,b,c,d,e,f} (hence b,c,d,e) |
11 | items number 2 to 5 of the list {a,b,c,d,e,f} (hence b,c,d,e) |
12 | :item([ , ], ) |
12 | :item([ , ], ) |
13 | item([2,4],\ll) |
13 | item([2,4],\ll) |
14 | items number 2 and 4 of the list \ll (same as <tt |
14 | items number 2 and 4 of the list \ll (same as <span class="tt wims_code_variable">\ll[2,4]</span>) |
15 | :position( ) |
15 | :position( ) |
16 | position(make,do,go,make,take) |
16 | position(make,do,go,make,take) |
17 | number of position of the item `make' in the list {do,go,make,take} (hence 3) |
17 | number of position of the item `make' in the list {do,go,make,take} (hence 3) |
18 | :rows( ) |
18 | :rows( ) |
19 | rows(\m) |
19 | rows(\m) |
20 | the number of rows in the matrix \m |
20 | the number of rows in the matrix \m |
21 | :row( , ) |
21 | :row( , ) |
22 | row(2,\m) |
22 | row(2,\m) |
23 | row number 2 of the matrix \m (same as <tt |
23 | row number 2 of the matrix \m (same as <span class="tt wims_code_variable">\m[2;]</span>) |
24 | :row( .. , ) |
24 | :row( .. , ) |
25 | row(2..5,\m) |
25 | row(2..5,\m) |
26 | the submatrix of \m consisting of rows number 2 to 5 (same as <tt |
26 | the submatrix of \m consisting of rows number 2 to 5 (same as <span class="tt wims_code_variable">\m[2..5;]</span>) |
27 | :row([ , ], ) |
27 | :row([ , ], ) |
28 | row([1,3],1,2,3<br/>3,4,5<br/>5,6,7) |
28 | row([1,3],1,2,3<br/>3,4,5<br/>5,6,7) |
29 | the submatrix of the 3×3 matrix consisting of the first and the last rows |
29 | the submatrix of the 3×3 matrix consisting of the first and the last rows |
30 | :row( , ) |
30 | :row( , ) |
31 | row(column 1 > 1 and column 2 = good,\mat) |
31 | row(column 1 > 1 and column 2 = good,\mat) |
Line 36... | Line 36... | ||
36 | :randomrow( ) |
36 | :randomrow( ) |
37 | randomrow(\mat) |
37 | randomrow(\mat) |
38 | a random row of the matrix \mat. |
38 | a random row of the matrix \mat. |
39 | :column( , ) |
39 | :column( , ) |
40 | column(2,\m) |
40 | column(2,\m) |
41 | items of column number 2 of the matrix \m, as a comma-separated list (same as <tt |
41 | items of column number 2 of the matrix \m, as a comma-separated list (same as <span class="tt wims_code_variable">\m[;2]</span>) |
42 | :column( .. , ) |
42 | :column( .. , ) |
43 | column(2..5,\m) |
43 | column(2..5,\m) |
44 | the submatrix of \m consisting of columns number 2 to 5 (same as <tt |
44 | the submatrix of \m consisting of columns number 2 to 5 (same as <span class="tt wims_code_variable">\m[;2..5]</span>) |
45 | :column([ , ], ) |
45 | :column([ , ], ) |
46 | column([1,3],1,2,3<br/>3,4,5<br/>5,6,7) |
46 | column([1,3],1,2,3<br/>3,4,5<br/>5,6,7) |
47 | the submatrix of the 3×3 matrix consisting of the first and the last columns |
47 | the submatrix of the 3×3 matrix consisting of the first and the last columns |
48 | :asis( ) |
48 | :asis( ) |
49 | asis(How do you do? item(1,2,3)) |
49 | asis(How do you do? item(1,2,3)) |