next up previous contents index
Next: UnivariateFreeFiniteAlgebra Up: UnivariateFreeAlgebra Previous: setCoefficient!   Contents   Index


shift


\begin{usage}
shift(p, m)\\ shift!(p, m)
\end{usage}


Signature


\begin{params}
{\em p} & \% & A polynomial or series\\
{\em m} & \htmlref{\texttt{Integer}}{Integer} & The amount to shift\\\end{params}

\begin{retval}
Returns
\begin{displaymath}
\sum_{i \ge \max(0,-m)} a_i P_{i+m}
\end{displaymath}where $p = \sum_{i \ge 0} a_i P_i$.
\end{retval}

\begin{remarks}
When using shift!, the storage used by p is allowed to be
destr...
...and is thus guaranteed not to share space
with other polynomials.
\end{remarks}


Manuel Bronstein 2000-12-13