AffineTransform

AffineTransform[m]

gives a TransformationFunction that represents an affine transform that maps r to m.r.

AffineTransform[{m,v}]

gives an affine transform that maps r to m.r+v.

Details

Examples

open allclose all

Basic Examples  (2)

A general affine transformation:

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

Transform points:

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

A pure rotation:

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

A pure translation:

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

Scope  (3)

Applications  (3)

Properties & Relations  (3)

Neat Examples  (1)

See Also

GeometricTransformation  LinearFractionalTransform  TransformationFunction  RotationTransform  Dot  ViewMatrix  SpatialTransformationLayer

Introduced in 2007
(6.0)