Dear Haskellers,

My thanks to people on the irc channel, especially `int-e'.
With their help, I managed to write a linear equation solver
using STUArrays.

Attachment: MatrixOp.hs.gz
Description: MatrixOp, only contains a linear solver, yet

It is basically a direct rewrite of a C version, which
adopts Crout's LU decomposition method with implicit
pivoting, in chapter 2.3 of the book Numerical Recipes.

I must admit that the code is in a really bad style,
somewhat ugly, because of the limit of my Haskell knowledge.
The code is attached in this email for your amusement.  I
would be really thankful if you can give me any kind of
comments, idea, improvement, criticism, because I sincerely
want to make the code better.

Best regards,
Xiao-Yong
-- 
    c/*    __o/*
    <\     * (__
    */\      <
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to