Matrix -is:module

Matrix representation suitable for BLAS/LAPACK computations.
Representation of a 2-D affine transformation. The Matrix type represents a 2x2 transformation matrix along with a translation vector. Matrix a1 a2 b1 b2 c1 c2 describes the transformation of a point with coordinates x,y that is defined by
/ x' \  =  / a1 b1 \  / x \  + / c1 \
\ y' /     \ a2 b2 /  \ y /    \ c2 /
or
x' =  a1 * x + b1 * y + c1
y' =  a2 * x + b2 * y + c2
Copied from Graphics.Rendering.Cairo.Matrix
Type of matrices. Elements can be of any type. Rows and columns are indexed starting by 1. This means that, if m :: Matrix a and i,j :: Int, then m ! (i,j) is the element in the i-th row and j-th column of m.
Memory-managed wrapper type.
Type synonym for a two-dimentsional array, or simply a matrix.
Type of matrices, parameterised on the type of values. Sparse matrices are implemented as an ordered association list, mapping coordinates to values.
A transformation matrix. An affine transformation a b c d e f
a b 0
c d 0
e f 1
Row-major matrix supporting efficient slice.
A two-dimensional array.
Sparse matrix in coordinate form (row, column, entry) NB: indices are 1-based i.e. A(1,1) is the top-left entry of matrix A