Data.Matrix.Banded.Operations
 Stability experimental Maintainer Patrick Perry
 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
Matrix Arithmetic
Pure
 scale :: BLAS1 e => e -> Banded (m, n) e -> Banded (m, n) e Source
Create a new matrix by scaling another matrix by the given value.
 invScale :: BLAS1 e => e -> Banded (m, n) e -> Banded (m, n) e Source
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.