[Haskell-cafe] matrix question
Hans Aberg
haberg at math.su.se
Tue Feb 2 07:26:35 EST 2010
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?
Plug in the word "matrix" on <http://haskell.org/>; then there comes
up matches "Prelude extensions" which has that type. There is also a
Numeric Prelude.
Hans
More information about the Haskell-Cafe
mailing list