ReflectionMatrix

ReflectionMatrix[v]

gives the matrix that represents reflection of points in a mirror normal to the vector v.

Details

  • The reflection is in a mirror that goes through the origin.
  • ReflectionMatrix works in any number of dimensions. In 2D it reflects in a line; in 3D it reflects in a plane.

Examples

open allclose all

Basic Examples  (2)

Reflect along the axis, or equivalently reflect in the axis:

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

Reflect along the vector or equivalently in the plane given by :

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

Scope  (4)

Applications  (1)

Properties & Relations  (3)

Possible Issues  (1)

Neat Examples  (1)

See Also

ReflectionTransform  RotationMatrix

Introduced in 2007
(6.0)