Update README
This commit is contained in:
parent
7b6b71780a
commit
bc08b4942e
3 changed files with 9 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue