% cofactor of a square matrix B = cofactorMatrix(A) inv(A) = cof(A)'/det(A) holds. d det(A)/ dA = cof(A) holds. author: J. Meidow, FGAN-FOM $Log: cof.m,v $ Revision 1.1 2007/09/26 06:33:52 meidow *** empty log message *** adapted Wolfgang Foerstner 1/2011 wfoerstn@uni-bonn.de
0001 %% cofactor of a square matrix 0002 % 0003 % B = cofactorMatrix(A) 0004 % 0005 % inv(A) = cof(A)'/det(A) holds. 0006 % d det(A)/ dA = cof(A) holds. 0007 % 0008 % author: J. Meidow, FGAN-FOM 0009 % 0010 % $Log: cof.m,v $ 0011 % Revision 1.1 2007/09/26 06:33:52 meidow 0012 % *** empty log message *** 0013 % 0014 % adapted Wolfgang Foerstner 1/2011 0015 % wfoerstn@uni-bonn.de 0016 0017 function B = cofactorMatrix(A) 0018 0019 B = adjunctMatrix(A)'; 0020