Modulematrices-0.5.0Haskell2010
Data.Matrix
- 1 type
- 68 values
- Packagematrices-0.5.0
- Exports69
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceMatrix.hs
Accessors
0 declarationslength information
Indexing
Construction
8 declarationsO(m*n) Matrix construction
O(m*n) Create matrix from list of lists, it doesn't check if the list of list is a valid matrix
O(m*n) Create matrix from rows
O(m*n) Create matrix from columns
Conversions
14 declarationsO(m) Return the rows
O(m*n) Create a list by concatenating rows
O(m*n) List of lists
O(m*n) Matrix transpose
subMatrix O(1) Extract sub matrix
O(m*n) Create an identity matrix
O(m*n) Create a square matrix with given diagonal, other entries default to 0
O(m*n) Create a rectangular matrix with default values and given diagonal
Mapping
2 declarationsMonadic mapping
6 declarationsO(m*n) Apply the monadic action to every element and its index, yielding a matrix of results.
O(m*n) Apply the monadic action to every element and its index, ignoring the results.