Document everything
This commit is contained in:
parent
1ad4c1f13c
commit
077b393bd1
17 changed files with 258 additions and 26 deletions
|
|
@ -12,11 +12,15 @@ import Data.NumIdr.Transform.Transform
|
|||
%default total
|
||||
|
||||
|
||||
||| A trivial transform is a transform that must leave all points unchanged.
|
||||
||| This transform type only exists so that `linearize` can take a translation
|
||||
||| as input.
|
||||
public export
|
||||
Trivial : Nat -> Type -> Type
|
||||
Trivial = Transform TTrivial
|
||||
|
||||
|
||||
||| Determine if a homogeneous matrix is trivial.
|
||||
export
|
||||
isTrivial : Eq a => Num a => HMatrix' n a -> Bool
|
||||
isTrivial {n} mat with (viewShape mat)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue