jonathanfishbein1/linear-algebra/25.3.0

NOTE: the latest version is 30.0.0

InvertableMatrix

A module for Invertable Matrix

Types

= InvertableMatrix (NormalMatrix a)

Invertable Matrix type

Constructors

identity : Field a -> Int -> InvertableMatrix a

Create Square Identity Matrix with n dimension

Matrix Predicates and Properties

determinant : VectorSpace a -> InvertableMatrix a -> Result String a

Try to calculate the determinant

Dimension of the matrix

InnerProductSpace a
-> Result String (NormalMatrix a)

Determine whether a matirx is invertable

Unitary Operations

Scalar multiplication over an InvertableMatrix Matrix

Binary Operations

InnerProductSpace a
-> Result String (InvertableMatrix a)

Try to calculate the inverse of a matrix

Add two InvertableMatrix together

InnerProductSpace a
-> Result String (InvertableMatrix a)

Invertable Matrix Invertable Matrix multiplication

InnerProductSpace a
-> Result String (ColumnVector a)

Multiply a Vector by a Matrix

Manipulation

getAt : ( Int, Int ) -> InvertableMatrix a -> Maybe a

Get the value in a matrix at the specified row and column

Equality

equal : (a -> a -> Bool) -> Equality (InvertableMatrix a)

Compare two matricies using comparator

equalImplementation : (a -> a -> Bool) -> InvertableMatrix a -> InvertableMatrix a -> Bool

Compare two Matrices for equality

InnerProductSpace a
-> List (ColumnVector a)
-> Result String (ColumnVector a)

Calculate the projection of a vector onto a subspace given by a list of basis vectors as column vectors