Matrix

A m × n 𝑚 𝑛 m\times n matrix with values in a type A 𝐴 A is a function [ m ] × [ n ] A delimited-[] 𝑚 delimited-[] 𝑛 𝐴 [m]\times[n]\to A .

As Polynomial Functors

A m × n 𝑚 𝑛 m\times n matrix of types can be represented as a Linear Polynomial Functor

Typesetting

There are a couple of latex environments for typesetting matricies; the main two are pmatrix and bmatrix.

(
[