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 …
MATHEMATICA tutorial, Part 2.1: Matrices
www.cfm.brown.edu › Mathematica › ch1A window will now appear allowing you to specify the size of your matrix. Under Make select Matrix(List of lists). Then specify the number of rows and columns you wish to input and click ok. Your specified matrix will now appear on your notebook for you to input information. Suppose we need to build a zero matrix or the identity matrix: