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

data Matrix Source #

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

Constructors

Matrix 

Fields

Instances
Eq Matrix Source # 
Instance details

Defined in Statistics.Matrix.Types

Methods

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

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

Show Matrix Source # 
Instance details

Defined in Statistics.Matrix.Types

data MMatrix s Source #

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

Constructors

MMatrix !Int !Int !(MVector s)