Misc. changes
This commit is contained in:
parent
0a54f607b0
commit
524486bb58
5 changed files with 51 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ fromMatrix mat = if isOrthonormal' mat then Just (unsafeMkTrans (matrixToH mat))
|
|||
||| Construct an orthonormal transform that reflects a particular coordinate.
|
||||
export
|
||||
reflect : {n : _} -> Neg a => Fin n -> Orthonormal n a
|
||||
reflect i = unsafeMkTrans $ indexSet [weaken i,weaken i] (-1) identity
|
||||
reflect = unsafeMkTrans . reflectH
|
||||
|
||||
||| The orthonormal transform that reflects on the x-coordinate (first coordinate).
|
||||
export
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue