blas-0.6: Bindings to the BLAS librarySource codeContentsIndex
Data.Matrix.Perm
Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>
Contents
The identity permutation
Converting to/from Permutations
Coercing
Description
Synopsis
module BLAS.Matrix
data Perm mn e
= P {
baseOf :: !Permutation
isHerm :: !Bool
}
| I !Int
identity :: Int -> Perm (n, n) e
fromPermutation :: Permutation -> Perm (n, n) e
toPermutation :: Perm (n, n) e -> Permutation
coercePerm :: Perm mn e -> Perm mn' e
Documentation
module BLAS.Matrix
data Perm mn e Source
Constructors
P
baseOf :: !Permutation
isHerm :: !Bool
I !Int
show/hide Instances
BaseMatrix Perm
BLAS1 e => IMatrix Perm e
BLAS1 e => ISolve Perm e
(BLAS1 e, UnsafeIOToM m) => MMatrix Perm e m
(BLAS1 e, UnsafeIOToM m) => MSolve Perm e m
BaseTensor Perm ((,) Int Int)
Eq (Perm ((,) n n) e)
Elem e => Show (Perm ((,) n n) e)
AEq (Perm ((,) n n) e)
The identity permutation
identity :: Int -> Perm (n, n) eSource
Converting to/from Permutations
fromPermutation :: Permutation -> Perm (n, n) eSource
toPermutation :: Perm (n, n) e -> PermutationSource
Coercing
coercePerm :: Perm mn e -> Perm mn' eSource
Produced by Haddock version 2.3.0