next up previous contents index
Next: dimensions Up: MatrixCategory Previous: companion   Contents   Index


diagonal


\begin{usage}
diagonal~[$r_1,\dots,r_n$]\\ diagonal?~A
\end{usage}

\begin{signatures}
diagonal: & \htmlref{\texttt{Vector}}{Vector} R $\to$\ \%\\
diagonal?: & \% $\to$\ \htmlref{\texttt{Boolean}}{Boolean}\\\end{signatures}

\begin{params}
$r_1,\dots,r_n$\ & R & Entries\\
{\em A} & \% & A matrix\\\end{params}

\begin{descr}
diagonal([$r_1,\dots,r_n$]) returns a diagonal matrix whose diago...
...pace if {\em A}
is a diagonal matrix, {\it false}\xspace otherwise.
\end{descr}


See Also



Manuel Bronstein 2000-12-13