Words, rows, columns, content, shape |
Example: Here is an example:In case you enter the tableau... scan(TABLEAUX,a); println(a); wordoftableaux(a,b);println(b); rowwordoftableaux(a,c);println(c); columnwordoftableaux(a,d);println(d); ...5 6 7
1 2 3 4
the output will look as follows:
5 6 7
1 2 3 4
[4,3,2,1,7,6,5]
[4,3,2,1,7,6,5]
[5,1,6,2,7,3,4]
Please note that wordoftableaux also gives the row word of the tableau, it is simply the default value.
In order to access the rows and columns of the tableaux, we have routines which give you the last and first index of the entries:
Words, rows, columns, content, shape |