matrices-0.2.0: native matrix based on vector

Copyright(c) 2014 Kai Zhang
LicenseBSD3
Safe HaskellNone
LanguageHaskell2010

Data.Matrix.Generic.Types

Description

 

Synopsis

Documentation

data Matrix v a where Source

row-major matrix supporting efficient slice

Constructors

Matrix :: Vector v a => !Int -> !Int -> !Int -> !Int -> !(v a) -> Matrix v a 

Instances

Vector v Bool => Show (Matrix v Bool) 
(Vector v a, Show a) => Show (Matrix v a) 

data MMatrix v m a where Source

mutable matrix

Constructors

MMatrix :: MVector v a => !Int -> !Int -> !Int -> !Int -> !(v m a) -> MMatrix v m a