|
|
|
|
|
Description |
|
|
Synopsis |
|
class (BaseMatrix a, BaseVector x) => BaseBanded a x | a -> x where | | | class (UnsafeIOToM m, ReadTensor a (Int, Int) m, BaseBanded a x, ReadVector x m) => ReadBanded a x m | a -> x | | class (WriteTensor a (Int, Int) m, WriteVector x m, ReadBanded a x m) => WriteBanded a x m | a -> m, m -> a, a -> x | | module BLAS.Tensor.Base | | module BLAS.Matrix.Base | | coerceBanded :: BaseBanded a x => a mn e -> a mn' e | | numLower :: BaseBanded a x => a mn e -> Int | | numUpper :: BaseBanded a x => a mn e -> Int | | bandwidth :: BaseBanded a x => a mn e -> (Int, Int) | | newBanded :: (WriteBanded a x m, Elem e) => (Int, Int) -> (Int, Int) -> [((Int, Int), e)] -> m (a mn e) | | newListsBanded :: (WriteBanded a x m, Elem e) => (Int, Int) -> (Int, Int) -> [[e]] -> m (a mn e) | | unsafeNewBanded :: (WriteBanded a x m, Elem e) => (Int, Int) -> (Int, Int) -> [((Int, Int), e)] -> m (a mn e) | | module BLAS.Tensor.Read | | module BLAS.Tensor.Write | | newZeroBanded :: (WriteBanded a x m, Elem e) => (Int, Int) -> (Int, Int) -> m (a mn e) | | setZeroBanded :: (WriteBanded a x m, Elem e) => a mn e -> m () | | newConstantBanded :: (WriteBanded a x m, Elem e) => (Int, Int) -> (Int, Int) -> e -> m (a mn e) | | setConstantBanded :: (WriteBanded a x m, Elem e) => e -> a mn e -> m () | | diagViewBanded :: (BaseBanded a x, Storable e) => a mn e -> Int -> x k e | | rowViewBanded :: (BaseBanded a x, Storable e) => a mn e -> Int -> (Int, x k e, Int) | | colViewBanded :: (BaseBanded a x, Storable e) => a mn e -> Int -> (Int, x k e, Int) | | unsafeDiagViewBanded :: (BaseBanded a x, Storable e) => a mn e -> Int -> x k e | | unsafeRowViewBanded :: (BaseBanded a x, Storable e) => a mn e -> Int -> (Int, x k e, Int) | | unsafeColViewBanded :: (BaseBanded a x, Storable e) => a mn e -> Int -> (Int, x k e, Int) | | newCopyBanded :: (BLAS1 e, ReadBanded a x m, WriteBanded b y m) => a mn e -> m (b mn e) | | copyBanded :: (BLAS1 e, WriteBanded b y m, ReadBanded a x m) => b mn e -> a mn e -> m () | | unsafeCopyBanded :: (BLAS1 e, WriteBanded b y m, ReadBanded a x m) => b mn e -> a mn e -> m () | | ldaOfBanded :: BaseBanded a x => a mn e -> Int | | isHermBanded :: BaseBanded a x => a mn e -> Bool | | withBandedPtr :: (BaseBanded a x, Storable e) => a mn e -> (Ptr e -> IO b) -> IO b | | withBandedElemPtr :: (BaseBanded a x, Storable e) => a mn e -> (Int, Int) -> (Ptr e -> IO b) -> IO b |
|
|
|
The banded matrix type classes
|
|
|
| Methods | | | Instances | |
|
|
|
| Instances | |
|
|
|
| Instances | |
|
|
Banded matrix shape
|
|
module BLAS.Tensor.Base |
|
module BLAS.Matrix.Base |
|
|
Cast the shape type of the matrix.
|
|
Bandwidth
|
|
|
|
|
|
|
|
Creating banded matrices
|
|
|
|
|
|
|
|
Reading and writing matrix elements
|
|
module BLAS.Tensor.Read |
|
module BLAS.Tensor.Write |
|
Special banded matrices
|
|
|
Create a zero banded matrix of the specified shape and bandwidths.
|
|
|
|
|
Create a constant banded matrix of the specified shape and bandwidths.
|
|
|
|
Row and column views
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copying Banded matrices
|
|
|
|
|
|
|
|
Low-level functions
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.3.0 |