Matrix Operations
In this page, we will see how to perform basic manipulations with matrices.
Matrix Entries, Rows, Columns
Given a matrix $M$, we can access its entries as follows:
M = matrix{{1,2,3}, {4,5,6}, {7,8,9}} -- constructs a matrix M with rows given by {1,2,3}, {4,5,6} and {7,8,9}
M_(0,1) = 2
M_{0,1} -- accesses the columns 0 and 1 of the matrix
M^{1,2} -- accesses the rows 1 and 2 of the matrix M