Fastest Executing Square Matrix Cofactor Implementation? Fastest Adjoint Implementation Which Works for Singular Matrix?

2 views (last 30 days)
I see several cofactor functions on file exchange. Can anyone point to the fastest executing cofactor implementation, for use on n by n matrices with n in the hundreds to maybe thousands?
Alternatively, the (classical) adjoint function in MATLAB, or use of det(A)*inv(A), does not work for a singular matrix A. Is there an efficient implementation of adjoint which works even for a singular matrix? Of course, adjoint = cofactor', so fast implementation of one or the other of cofactor or adjoint can be obtained as the transpose of the other.
Thanks.

Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!