|
| Data.Matrix.Banded | | Stability | experimental | | Maintainer | Patrick Perry <patperry@stanford.edu> |
|
|
|
|
|
| Description |
|
|
| Synopsis |
|
| newtype Banded mn e = B (IOBanded mn e) | | | module BLAS.Tensor.Base | | | module BLAS.Matrix.Base | | | bandwidth :: BaseBanded a x => a mn e -> (Int, Int) | | | numLower :: BaseBanded a x => a mn e -> Int | | | numUpper :: BaseBanded a x => a mn e -> Int | | | coerceBanded :: BaseBanded a x => a mn e -> a mn' e | | | banded :: BLAS1 e => (Int, Int) -> (Int, Int) -> [((Int, Int), e)] -> Banded (m, n) e | | | listsBanded :: BLAS1 e => (Int, Int) -> (Int, Int) -> [[e]] -> Banded (m, n) e | | | unsafeBanded :: BLAS1 e => (Int, Int) -> (Int, Int) -> [((Int, Int), e)] -> Banded (m, n) e | | | module BLAS.Tensor.Immutable | | | zeroBanded :: BLAS1 e => (Int, Int) -> (Int, Int) -> Banded (m, n) e | | | constantBanded :: BLAS1 e => (Int, Int) -> (Int, Int) -> e -> Banded (m, n) e | | | diagBanded :: BLAS1 e => Banded mn e -> Int -> Vector k e | | | unsafeDiagBanded :: BLAS1 e => Banded mn e -> Int -> Vector k e | | | listsFromBanded :: BLAS1 e => Banded mn e -> ((Int, Int), (Int, Int), [[e]]) | | | ldaOfBanded :: BaseBanded a x => a mn e -> Int | | | isHermBanded :: BaseBanded a x => a mn e -> Bool | | | module BLAS.Matrix.Immutable | | | class UnsafeFreezeBanded a where | | | | class UnsafeThawBanded a where | | | | freezeBanded :: (ReadBanded a x m, WriteBanded b y m, UnsafeFreezeBanded b, BLAS1 e) => a mn e -> m (Banded mn e) | | | thawBanded :: (WriteBanded a y m, BLAS1 e) => Banded mn e -> m (a mn e) |
|
|
|
| Banded matrix type
|
|
|
| Constructors | | Instances | |
|
|
| Banded shape
|
|
| module BLAS.Tensor.Base |
|
| module BLAS.Matrix.Base |
|
|
|
|
|
|
|
|
| Cast the shape type of the matrix.
|
|
| Creating banded matrices
|
|
|
|
|
|
|
|
| Reading banded matrix elements
|
|
| module BLAS.Tensor.Immutable |
|
| Special banded matrices
|
|
|
|
|
|
| Vector views
|
|
|
| Get a the given diagonal in a banded matrix. Negative indices correspond
to sub-diagonals.
|
|
|
| Same as diagBanded but index is not range-checked.
|
|
| Converting to lists
|
|
|
|
| Low-level properties
|
|
|
|
|
|
| Matrix and vector multiplication
|
|
| module BLAS.Matrix.Immutable |
|
| Converting between mutable and immutable banded matrices
|
|
| class UnsafeFreezeBanded a where | Source |
|
| | Methods | | | Instances | |
|
|
| class UnsafeThawBanded a where | Source |
|
| | Methods | | | Instances | |
|
|
|
|
|
|
| Produced by Haddock version 2.3.0 |