Example
Given is the residue class ring S = Z/2Z[X]/(d) where d = X2 + X + 1. A basis for S as vector space over Z/2Z is 1, X, X2. With respect to this basis, multiplication by X is a linear map expressed by the matrix

001
101
010