Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Give the matrix of cofactors for a given input matrix
ResourceFunction["CofactorMatrix"][mat] gives the cofactor matrix of the matrix mat. |
Find the matrix of cofactors of an input matrix:
In[1]:= |
Out[1]= |
The identity matrix is equal to its own cofactor matrix:
In[2]:= |
Out[2]= |
Find the matrix of cofactors of another matrix:
In[3]:= |
Out[3]= |
Find the cofactor matrix of a matrix having symbolic elements:
In[4]:= |
Out[4]= |
CofactorMatrix returns unevaluated for non-square matrix input:
In[5]:= |
Out[5]= |
In[6]:= |
Out[6]= |
The cofactor matrix is related to the Adjugate by transposition:
In[7]:= |
Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License