|
|
|
Description |
Operations on matrices (doubly-nested parallel vectors). All operations in
this module assume rectangular matrices.
|
|
Synopsis |
|
|
|
Documentation |
|
|
|
|
Converts a matrix to a core array.
|
|
|
Converts a core array to a matrix. The first length argument is the number
of rows (outer vector), and the second argument is the number of columns
(inner argument).
|
|
|
Constructs a matrix. The elements are stored in a core array.
|
|
|
Constructing a matrix from an index function.
indexedMat m n ixf:
- m is the number of rows.
- n is the number of columns.
- ifx is a function mapping indexes to elements (first argument is row
index; second argument is column index).
|
|
|
Transpose of a matrix
|
|
|
Concatenates the rows of a matrix.
|
|
|
The diagonal vector of a square matrix. It happens to work if the number of
rows is less than the number of columns, but not the other way around (this
would require some overhead).
|
|
|
|
|
|
|
Matrix multiplication
|
|
|
| Associated Types | | | Methods | | General multiplication operator
|
| | Instances | |
|
|
|
| Associated Types | | | Methods | | Operator for general element-wise multiplication
|
| | Instances | |
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.1 |