Update README

This commit is contained in:
Kiana Sheibani 2023-03-16 09:17:14 -04:00
parent 7b6b71780a
commit bc08b4942e
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 9 additions and 5 deletions

View file

@ -92,6 +92,7 @@ public export
interface MultMonoid a => MultGroup a where
constructor MkMultGroup
||| Calculate the inverse of the matrix or transformation.
|||
||| WARNING: This function will not check if an inverse exists for the given
||| input, and will happily divide by zero or return results containing NaN.
||| To avoid this, use `tryInverse` instead.

View file

@ -6,6 +6,7 @@ import Data.Permutation
import Data.NumIdr.Interfaces
import public Data.NumIdr.Array
import Data.NumIdr.Vector
import Data.NumIdr.LArray
%default total
@ -20,7 +21,7 @@ Matrix m n = Array [m,n]
||| A synonym for a square matrix with dimensions of length `n`.
public export
Matrix' : Nat -> Type -> Type
Matrix' n = Matrix n n
Matrix' n = Array [n,n]
--------------------------------------------------------------------------------