Re: [Haskell-cafe] matrix question

2010-02-03 Thread John Lato
From: Ivan Lazar Miljenovic ivan.miljeno...@gmail.com man manuel.a.cas...@gmail.com writes: http://hackage.haskell.org/package/hmatrix-0.8.1.1 it wraps gls, blas and lapack (so you need to install the libraries). There's also the blas package if you just want blas support. I've been using

[Haskell-cafe] matrix question

2010-02-02 Thread 조광래
define functions type Matrix=[[Double]] multMM :: Matrix - Matrix - Matrix --multiplies two matrices det :: Matrix - Double --computes the determinant of a matrix inv :: Matrix - Matrix --inverts a matrix i stuck on those problems can any one help me out?

Re: [Haskell-cafe] matrix question

2010-02-02 Thread Hans Aberg
On 2 Feb 2010, at 13:15, 조광래 wrote: define functions type Matrix=[[Double]] multMM :: Matrix - Matrix - Matrix --multiplies two matrices det :: Matrix - Double --computes the determinant of a matrix inv :: Matrix - Matrix --inverts a matrix i stuck on those problems can any one help me out?

Re: [Haskell-cafe] matrix question

2010-02-02 Thread Job Vranish
I have a little haskell matrix library for fixed sized matricies on github: http://github.com/jvranish/VectorMatix which I've just realized is horribly out of date...I'll update it tonight and probably push it to hackage too... but if you're really want to stick with the [[Double]] type, you can

Re: [Haskell-cafe] matrix question

2010-02-02 Thread man
http://hackage.haskell.org/package/hmatrix-0.8.1.1 it wraps gls, blas and lapack (so you need to install the libraries). On Tue, Feb 2, 2010 at 4:08 PM, Job Vranish jvran...@gmail.com wrote: I have a little haskell matrix library for fixed sized matricies on github:

Re: [Haskell-cafe] matrix question

2010-02-02 Thread Richard O'Keefe
On Feb 3, 2010, at 1:15 AM, 조광래 wrote: define functions type Matrix=[[Double]] multMM :: Matrix - Matrix - Matrix --multiplies two matrices det :: Matrix - Double --computes the determinant of a matrix inv :: Matrix - Matrix --inverts a matrix i stuck on those problems Stuck how, exactly?

Re: [Haskell-cafe] matrix question

2010-02-02 Thread Ivan Lazar Miljenovic
man manuel.a.cas...@gmail.com writes: http://hackage.haskell.org/package/hmatrix-0.8.1.1 it wraps gls, blas and lapack (so you need to install the libraries). There's also the blas package if you just want blas support. -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com

Re: [Haskell-cafe] matrix question

2010-02-02 Thread Thomas DuBuisson
This is identical to the homework problem posted on stackoverflow: http://stackoverflow.com/questions/2182300/haskell-matrix-scalar-multilple-question Do not post homework problems to the cafe! If you feel compelled to then identify an aspect that is tricky to you, show us what you tried, and