Create Matrices
Matrices are created by defining hierarchical lists which are simply lists containing other lists as elements.
The following list:
is equivalent to the following matrix:
The following list:
is equivalent to the following column vector:
The following list:
is equivalent to the following row vector:
You can add, subtract, multiply, raise to a power, and invert matrices using the standard arithmetic operators applied to single values (A+B, A-B, A*B, A^n, A^-1). Furthermore, you can calculate the determinant of a matrix using the expression determinant(A) and you can transpose the rows and columns in a matrix using the expression trans(A).
Matrices in arithmetic calculations can contain any complex numbers and units of measure as needed.