HouseholderMatrix - 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]

  

HouseholderMatrix

  

construct a Householder Matrix

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

HouseholderMatrix(V, options)

Parameters

V

-

Vector; used for constructing the Householder Matrix

options

-

(optional) parameters; for a complete list, see LinearAlgebra[HouseholderMatrix]

Description

• 

The HouseholderMatrix(V) function constructs a Householder Matrix from the values in the Vector V.

• 

If V is a Vector of dimension n and V+ indicates its transpose, then HouseholderMatrix(V) constructs the Matrix Id−s⁢V.V+ (if V is a column Vector) or Id−s⁢V+.V (if V is a row Vector), where Id=IdentityMatrix⁡n and  s=2V.V by default.  You can provide a different value for s.  See LinearAlgebra[HouseholderMatrix] for more information.

Examples

> 

with⁡StudentLinearAlgebra:

> 

V≔3,4,5

V≔345

(1)
> 

Norm⁡V

5⁢2

(2)
> 

W≔V+Norm⁡V·1,0,0

W≔3+5⁢245

(3)
> 

H≔HouseholderMatrix⁡W

H≔1−2⁢3+5⁢2241+3+5⁢22−8⁢3+5⁢241+3+5⁢22−10⁢3+5⁢241+3+5⁢22−8⁢3+5⁢241+3+5⁢221−3241+3+5⁢22−4041+3+5⁢22−10⁢3+5⁢241+3+5⁢22−4041+3+5⁢221−5041+3+5⁢22

(4)
> 

evala⁡H·V

−5⁢200

(5)

Compatibility

• 

The Student[LinearAlgebra][HouseholderMatrix] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

Matrix

Vector