toOrdinal(i,F)
This function allows one to move from the labels of the basis elements of a labeled free module of rank $r$ to the integers $\{0,1, \dots, r-1\}$. More specifically, if $F$ is a labeled free module where we have labeled the basis with the list $L$, then this function an element $l\in L$ to the ordinal $j$ such that $l$ is the $j$'th element of $L$.
|
|
|
|
|
The object toOrdinal is a method function.