ReflectionMatrix

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

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (2)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=
Introduced in 2007
(6.0)
Translate this page: