COFACTOR INDEX

COFACTOR _ _ _ _ _ _ _ _ _ _ _ _ operator

The operator cofactor returns the cofactor of the element in row <row> and column <column> of a matrix. Errors occur if <row> or <column> do not evaluate to integer expressions or if the matrix is not square.

syntax:

cofactor(<matrix\_expression>,<row>,<column>)

examples:


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