dense-linear-algebra-0.1.0.0: Simple and incomplete pure haskell implementation of linear algebra

Copyright2014 Bryan O'Sullivan
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Statistics.Matrix.Types

Description

Basic matrix operations.

There isn't a widely used matrix package for Haskell yet, so we implement the necessary minimum here.

Synopsis

Documentation

type MVector s = MVector s Double #

data Matrix #

Two-dimensional matrix, stored in row-major order.

Constructors

Matrix 

Fields

Instances
Eq Matrix # 
Instance details

Defined in Statistics.Matrix.Types

Methods

(==) :: Matrix -> Matrix -> Bool #

(/=) :: Matrix -> Matrix -> Bool #

Show Matrix # 
Instance details

Defined in Statistics.Matrix.Types

data MMatrix s #

Two-dimensional mutable matrix, stored in row-major order.

Constructors

MMatrix !Int !Int !(MVector s)