[Haskell-cafe] Haskell, C and Matrix Multiplication

Henning Thielemann lemming at henning-thielemann.de
Mon Jan 17 12:50:53 CET 2011


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?



More information about the Haskell-Cafe mailing list