In[]:=
Basic Examples
Basic Examples
Find the matrix of cofactors of an input matrix:
In[]:=
Out[]=
{{15,-18,6},{7,2,-5},{-17,23,1}}
The identity matrix is equal to its own cofactor matrix:
In[]:=
Out[]=
{{1,0},{0,1}}
Find the matrix of cofactors of another matrix:
In[]:=
Out[]=
{{2,-2,2},{2,3,-3},{0,10,0}}
Find the cofactor matrix of a matrix having symbolic elements:
In[]:=
Out[]=
{{a-b,-+,b-a},{-1+b,1-,-b+},{1-a,-1+,a-}}
2
a
2
b
2
a
2
b
2
b
2
b
2
a
2
a
Scope
Scope
CofactorMatrix returns unevaluated for non-square matrix input:
In[]:=
Out[]=
In[]:=
Out[]=