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


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to