Creates a generic matrix by specifying the name of its elements, the number of rows and columns, as well as its properties.
The name of the elements of the matrix. The name will be followed by the row and columns subscripts.
The number of rows of the matrix.
The number of columns of the matrix.
Creates a unit matrix (also known as an identity matrix), which has 1s on the diagonal and 0s elsewhere. It is a square matrix, meaning the number of rows equals the number of columns. Element names are ignored.
Creates a diagonal matrix, which contains specified elements on the diagonal and zeros elsewhere. It is a square matrix, with the number of rows equal to the number of columns.
Creates a symmetric matrix. A symmetric matrix is a square matrix that is equal to its transpose, that is, the matrix is mirrored along its main diagonal.
Creates a generic matrix with the specified number of rows and columns, and no special properties.