next up previous contents index
Next: Sequence Up: Permutation Previous: sign   Contents   Index


transpose


\begin{usage}
transpose(x,y)\\ transpose!($\sigma$,x,y)
\end{usage}

\begin{signatures}
transpose: & (\htmlref{\texttt{MachineInteger}}{MachineInte...
...tmlref{\texttt{MachineInteger}}{MachineInteger}) $\to$\ \%\\\end{signatures}

\begin{params}
{\em$\sigma$} & \% & A permutation\\
{\em x,y} & \htmlref{\texttt{MachineInteger}}{MachineInteger} & Indices\\\end{params}

\begin{retval}
transpose(x,y) returns the transposition $(x y)$, while
transpos...
...s $\sigma$\ by the composition $(x y) \circ \sigma$and returns it.
\end{retval}

\begin{remarks}
transpose!~does not make a copy of $\sigma$, but performs all t...
... in $\sigma$. Also, it
does not create the transposition $(x y)$.
\end{remarks}


Manuel Bronstein 2000-12-13