Translation -- Homogeneous Coordinates

Recall that a translation cannot be implemented as a linear transformation in R^2. In order to create homogeneous coordinates, it is necessary to add a third row (all 1's) to the coordinate matrix.

> one := vector( 9, 1 );

[Maple Math]

> Nh := stackmatrix( N, one );

[Maple Math]

> T := matrix( 3, 3, [ [ 1, 0, 0.5 ], [ 0, 1, 1 ], [ 0, 0, 1 ] ] );

[Maple Math]

> Ntr := evalm( T &* Nh );

[Maple Math]

> pointplot( delrows(Ntr,3..3), opts, title="Translation" );

>