blas-0.5: Bindings to the BLAS librarySource codeContentsIndex
Data.Matrix.Banded.Operations
Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>
Contents
Matrix Arithmetic
Pure
Impure
In-place operations
Description
Synopsis
module BLAS.Matrix.Immutable
module BLAS.Matrix.ReadOnly
scale :: BLAS1 e => e -> Banded (m, n) e -> Banded (m, n) e
invScale :: BLAS1 e => e -> Banded (m, n) e -> Banded (m, n) e
getScaled :: BLAS1 e => e -> BMatrix t (m, n) e -> IO (BMatrix r (m, n) e)
getInvScaled :: BLAS1 e => e -> BMatrix t (m, n) e -> IO (BMatrix r (m, n) e)
doConj :: BLAS1 e => IOBanded (m, n) e -> IO ()
scaleBy :: BLAS1 e => e -> IOBanded (m, n) e -> IO ()
invScaleBy :: BLAS1 e => e -> IOBanded (m, n) e -> IO ()
Documentation
module BLAS.Matrix.Immutable
module BLAS.Matrix.ReadOnly
Matrix Arithmetic
Pure
scale :: BLAS1 e => e -> Banded (m, n) e -> Banded (m, n) eSource
Create a new matrix by scaling another matrix by the given value.
invScale :: BLAS1 e => e -> Banded (m, n) e -> Banded (m, n) eSource
Form a new matrix by dividing every element by a value.
Impure
getScaled :: BLAS1 e => e -> BMatrix t (m, n) e -> IO (BMatrix r (m, n) e)Source
Form a new matrix by multiplying every element by a value.
getInvScaled :: BLAS1 e => e -> BMatrix t (m, n) e -> IO (BMatrix r (m, n) e)Source
Form a new matrix by dividing every element by a value.
In-place operations
doConj :: BLAS1 e => IOBanded (m, n) e -> IO ()Source
Conjugate every element in a matrix.
scaleBy :: BLAS1 e => e -> IOBanded (m, n) e -> IO ()Source
Scale every element in a matrix by the given value.
invScaleBy :: BLAS1 e => e -> IOBanded (m, n) e -> IO ()Source
Divide every element by the given value.
Produced by Haddock version 2.3.0