Stability | experimental |
---|---|
Maintainer | Patrick Perry <patperry@stanford.edu> |
Mutable banded matrices in the IO monad.
- data IOBanded np e
- withIOBanded :: IOBanded (n, p) e -> (Ptr e -> IO a) -> IO a
- module Data.Matrix.Banded.Class
The IOBanded data type
Banded matrix in the IO
monad. The type arguments are as follows:
-
np
: a phantom type for the shape of the matrix. Most functions will demand that this be specified as a pair. When writing a function signature, you should always preferIOBanded (n,p) e
toIOBanded np e
. -
e
: the element type of the matrix. Only certain element types are supported.
MatrixShaped IOBanded | |
HasMatrixStorage IOBanded | |
HasVectorView IOBanded | |
Elem e => BaseBanded IOBanded e | |
BLAS3 e => MMatrix IOBanded e IO | |
BLAS3 e => WriteBanded IOBanded e IO | |
BLAS3 e => ReadBanded IOBanded e IO | |
Shaped IOBanded (Int, Int) | |
BLAS3 e => WriteTensor IOBanded (Int, Int) e IO | |
BLAS3 e => ReadTensor IOBanded (Int, Int) e IO | |
BLAS3 e => MSolve (Tri IOBanded) e IO | |
BLAS3 e => MMatrix (Herm IOBanded) e IO | |
BLAS3 e => MMatrix (Tri IOBanded) e IO |
withIOBanded :: IOBanded (n, p) e -> (Ptr e -> IO a) -> IO aSource
Execute an IO
action with a pointer to the first element in the
banded matrix.
Overloaded mutable banded matrix interface
module Data.Matrix.Banded.Class