Blake Rain wrote:
Determinant is a bit fiddly, but quite trivial. However it is woefully slow at O(n!). I need to make use of LU decomposition (in which the determinant is the sum of the diagonal values in U).
product of diagonal values
Adjoint is even more of a fiddle, but actually a one-liner after reusing bits of the determinant function (including the determinant function).
Isn't Adjoint just 'transpose' followed by complex conjugate? _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
