TransformationMatrix

TransformationMatrix[tfun]
gives the homogeneous matrix associated with a TransformationFunction object.

DetailsDetails

  • For transformations in n dimensions, TransformationMatrix normally gives an × matrix.
  • mat[[1;;n,1;;n]] gives the linear part of the transformation; mat[[1;;n,-1]] gives the displacement vector.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Here is defined to be a rotation around the axis:

In[1]:=
Click for copyable input
Out[1]=

Get the transformation matrix:

In[2]:=
Click for copyable input
Out[2]=

The linear part:

In[3]:=
Click for copyable input
Out[3]=

The displacement vector:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2007
(6.0)