blas-0.5: Bindings to the BLAS librarySource codeContentsIndex
BLAS.Matrix.Base
Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>
Description
Synopsis
class Matrix a where
numRows :: a (m, n) e -> Int
numCols :: a (m, n) e -> Int
herm :: Elem e => a (m, n) e -> a (n, m) e
isSquare :: Matrix a => a (m, n) e -> Bool
isFat :: Matrix a => a (m, n) e -> Bool
isTall :: Matrix a => a (m, n) e -> Bool
Documentation
class Matrix a whereSource
A base class for matrices.
Methods
numRows :: a (m, n) e -> IntSource
The number of rows in the matrix.
numCols :: a (m, n) e -> IntSource
The number of columns in the matrix.
herm :: Elem e => a (m, n) e -> a (n, m) eSource
Creates a new matrix view that conjugates and transposes the given matrix.
show/hide Instances
isSquare :: Matrix a => a (m, n) e -> BoolSource
isFat :: Matrix a => a (m, n) e -> BoolSource
isTall :: Matrix a => a (m, n) e -> BoolSource
Produced by Haddock version 2.3.0