ReflectionMatrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

ReflectionMatrix

  

construct a reflection Matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

ReflectionMatrix(v)

Parameters

v

-

Vector; normal to the reflection subspace

Description

• 

The ReflectionMatrix(v) command returns the m⁢x⁢m reflection Matrix, R, determined by the Vector v, where m=Dimension⁡v. Thus R·v=−v and R·w=w for all w such that v·w=0.

• 

In two-dimensional space, the reflection subspace is a line through the origin.  If the equation of this line is y=m⁢x, or m⁢x−y=0, then v=m,−1.

  

In three-dimensional space, the reflection subspace is a plane through the origin.

Examples

> 

with⁡StudentLinearAlgebra:

Reflect through the line y=-x:

> 

ReflectionMatrix⁡1,1

0−1−10

(1)
> 

ReflectionMatrix⁡a,b,c

−a2+b2+c2a2+b2+c2−2⁢a⁢ba2+b2+c2−2⁢a⁢ca2+b2+c2−2⁢a⁢ba2+b2+c2a2−b2+c2a2+b2+c2−2⁢b⁢ca2+b2+c2−2⁢a⁢ca2+b2+c2−2⁢b⁢ca2+b2+c2a2+b2−c2a2+b2+c2

(2)
> 

ReflectionMatrix⁡1,2,3,4

1415−215−15−415−2151115−25−815−15−2525−45−415−815−45−115

(3)

See Also

Student[LinearAlgebra]

Student[LinearAlgebra][RotationMatrix]