Translation matrix

Computes the translation matrix.

Syntax

translation_matrix(Vector)

Description

Given a vector v of two components, computes the matrix that translates the points through vector vLaTeXv. If the has three components, homogeneous coordinates are used: the third component indicates the scaling.

calc.translation_matrix.calc.png