|
BLAS.Matrix.Immutable | Stability | experimental | Maintainer | Patrick Perry <patperry@stanford.edu> |
|
|
|
|
|
Description |
|
|
Synopsis |
|
row :: IMatrix a e => a (m, n) e -> Int -> Vector n e | | col :: IMatrix a e => a (m, n) e -> Int -> Vector m e | | rows :: IMatrix a e => a (m, n) e -> [Vector n e] | | cols :: IMatrix a e => a (m, n) e -> [Vector m e] | | (<*>) :: IMatrix a e => a (m, n) e -> Vector n e -> Vector m e | | (<**>) :: IMatrix a e => a (m, k) e -> Matrix (k, n) e -> Matrix (m, n) e | | sapply :: IMatrix a e => e -> a (m, n) e -> Vector n e -> Vector m e | | sapplyMat :: IMatrix a e => e -> a (m, k) e -> Matrix (k, n) e -> Matrix (m, n) e | | class (BLAS1 e, BaseMatrix a) => IMatrix a e where | | | unsafeApply :: IMatrix a e => a (m, n) e -> Vector n e -> Vector m e | | unsafeApplyMat :: IMatrix a e => a (m, k) e -> Matrix (k, n) e -> Matrix (m, n) e |
|
|
|
Rows and columns
|
|
|
Get the given row in a matrix.
|
|
|
Get the given column in a matrix.
|
|
|
Get a list the row vectors in the matrix.
|
|
|
Get a list the column vectors in the matrix.
|
|
Multiplication
|
|
|
Apply to a vector
|
|
|
Apply to a matrix
|
|
|
|
|
|
|
| Methods | | | | | | Same as row but index is not range-checked.
| | | Same as col but index is not range-checked.
|
| | Instances | |
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |