This is often useful to construct special matrices. The shape must lead to the same total number of elements. If more elements are needed than are contained in a , they are repeated from the start. The module LinearAlgebra contains various common operations on matrices. Matrices are represented by two-dimensional arrays.
Some operations require square matrices, and check their input accordingly.
All operations are available for real and for complex matrices. W T whose matrix product is the original matrix a . It has numerous applications related to linear equations and least-squares problems. Note the way the abbreviations for the module names are created. Modules are just special data objects, so it is possible to assign them to variables.