next up previous contents index
Next: VectorOverFraction Up: Vector Previous: tensor   Contents   Index


zero


\begin{usage}
zero~n\\ zero!~v\\ zero?~v
\end{usage}

\begin{signatures}
zero: & \htmlref{\texttt{MachineInteger}}{MachineInteger}) ...
...\\
zero?: & \% $\to$\ \htmlref{\texttt{Boolean}}{Boolean}\\\end{signatures}

\begin{params}
{\em n} & \htmlref{\texttt{MachineInteger}}{MachineInteger} & T...
...new vector\\
{\em v} & \% & A vector with coefficients from R\\\end{params}

\begin{descr}
zero(n) returns a zero vector of size $n$, while
zero!(v) fills $...
...f all the entries of {\em v} are $0$, {\it false}\xspace otherwise.
\end{descr}


Manuel Bronstein 2000-12-13