Previous Up Next

15.5.1  Recognizing an isometry

The isom command determines whether or not a 2× 2 or 3× 3 matrix determines an isometry, and if it does, finds a characterization.

Examples

isom([[0,0,1],[0,1,0],[1,0,0]])
     
⎡
⎣
⎡
⎣
1,0,−1⎤
⎦
,−1⎤
⎦
          

which means that this isometry is a 3D symmetry with respect to the plane x−z=0.

isom(sqrt(2)/2*[[1,-1],[1,1]])
     
⎡
⎢
⎢
⎣
π 
4
,1⎤
⎥
⎥
⎦
          

Hence, this isometry is a 2D rotation of angle π/4.

isom([[0,0,1],[0,1,0],[0,0,1]])
     
⎡
⎣
0⎤
⎦
          

therefore this transformation is not an isometry.


Previous Up Next