Data.Matrix

Matrix type

data Matrix a

prettyMatrix

nrows

ncols

forceMatrix

Builders

matrix

fromList

fromLists

rowVector

colVector

Special matrices

zero

identity

permMatrix

Accessing

getElem

(!)

getRow

getCol

getDiag

Manipulating matrices

setElem

transpose

extendTo

mapRow

Submatrices

Splitting blocks

submatrix

minorMatrix

splitBlocks

Joining blocks

(<|>)

(<->)

joinBlocks

Matrix multiplication

About matrix multiplication

Functions

multStd

multStrassen

multStrassenMixed

Linear transformations

scaleMatrix

scaleRow

combineRows

switchRows

Decompositions

luDecomp

Properties

trace

diagProd

Determinants

detLaplace

detLU