
<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 
&lt;row&gt; and column &lt;column&gt; of a 
<A HREF=r37_0345.html>matrix</A>. Errors occur 
if &lt;row&gt; or &lt;column&gt; do not evaluate to integer expressions or if 
the matrix is not square. 
<P>
<P>
 <P> <H3> 
syntax: </H3>
<em>cofactor</em>(&lt;matrix\_expression&gt;,&lt;row&gt;,&lt;column&gt;) 
<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>