<A NAME=COFACTOR>
<TITLE>COFACTOR</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>COFACTOR</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
The operator <em>cofactor</em> returns the cofactor of the element in row
<row> and column <column> of a
<A HREF=r37_0345.html>matrix</A>. Errors occur
if <row> or <column> do not evaluate to integer expressions or if
the matrix is not square.
<P>
<P>
<P> <H3>
syntax: </H3>
<em>cofactor</em>(<matrix\_expression>,<row>,<column>)
<P>
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
cofactor(mat((a,b,c),(d,e,f),(p,q,r)),2,2);
A*R - C*P
cofactor(mat((a,b,c),(d,e,f)),1,1);
***** non-square matrix
</TT></PRE><P>