MATHEMATICA tutorial, Part 2.1: Matrices
https://www.cfm.brown.edu/people/dobrush/am34/Mathematica/ch1/matrix.ht…Mathematica offers several ways for constructing matrices: Table [f, {i,m}, {j,n}] Build an m×n matrix where f is a function of i and j that gives the value of the i,j entry. Array [f, {m,n}] Build an m×n matrix whose i,j entry is f [i,j] ConstantArray [a, {m,n}] Build an …