4 ms·
> he would definitely lose to LAPACK on big problems, purely because of using Cramer's rule. More importantly though, the code would probably take ages (as in,
by sannee 9y ago
> he would definitely lose to LAPACK on big problems, purely because of using Cramer's rule.
More importantly though, the code would probably take ages (as in, "age of the universe" ages) to compile, as Cramer's rule is O(n!) (using a naive implementation, I think one could get to O(n^4) if determinant was computed using LU factorization, but what's the point of Cramer's rule then...).