blas-0.5: Bindings to the BLAS librarySource codeContentsIndex
Data.Matrix.Diag
Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>
Contents
The diagonal matrix types
Converting to and from Vectors
Description
Synopsis
module BLAS.Matrix
module BLAS.Tensor
data DiagMatrix t mn e
type Diag = DiagMatrix Imm
type IODiag = DiagMatrix Mut
fromVector :: DVector t n e -> DiagMatrix t (n, n) e
toVector :: DiagMatrix t (n, n) e -> DVector t n e
Documentation
module BLAS.Matrix
module BLAS.Tensor
The diagonal matrix types
data DiagMatrix t mn e Source
show/hide Instances
Matrix (DiagMatrix t)
BLAS2 e => RMatrix (DiagMatrix t) e
BLAS2 e => IMatrix (DiagMatrix Imm) e
BLAS2 e => RSolve (DiagMatrix Imm) e
BLAS2 e => ISolve (DiagMatrix Imm) e
BLAS1 e => Scalable (DiagMatrix Imm ((,) n n)) e
BLAS1 e => ITensor (DiagMatrix Imm ((,) n n)) ((,) Int Int) e
BLAS1 e => RTensor (DiagMatrix t ((,) n n)) ((,) Int Int) e IO
BLAS1 e => MTensor (DiagMatrix Mut ((,) n n)) ((,) Int Int) e IO
(Eq e, BLAS1 e) => Eq (DiagMatrix Imm ((,) n n) e)
(Show e, BLAS1 e) => Show (DiagMatrix Imm ((,) n n) e)
(AEq e, BLAS1 e) => AEq (DiagMatrix Imm ((,) n n) e)
type Diag = DiagMatrix ImmSource
type IODiag = DiagMatrix MutSource
Converting to and from Vectors
fromVector :: DVector t n e -> DiagMatrix t (n, n) eSource
toVector :: DiagMatrix t (n, n) e -> DVector t n eSource
Produced by Haddock version 2.3.0