Student[LinearAlgebra]
ProjectionMatrix
construct the matrix of the orthogonal projection onto a subspace
Calling Sequence
Parameters
Description
Examples
Compatibility
ProjectionMatrix(S, options)
S
-
{set, list}(Vector); Vectors spanning the subspace to project onto
options
(optional); constructor options for the result object
The ProjectionMatrix(S) command constructs the matrix of the orthogonal linear projection onto the subspace spanned by the vectors in S. If B is a maximal, linearly independent subset of S and M is the Matrix whose columns are the Vectors in B, then
ProjectionMatrix⁡S=M·MTypesetting:-_Hold⁡%T·M-1·MTypesetting:-_Hold⁡%T
Additional arguments are passed as options to the Matrix constructor which builds the result.
with⁡StudentLinearAlgebra:
S ≔ 1,2,3,4,4,3,2,1
S≔1234,4321
P ≔ ProjectionMatrix⁡S
P≔71025110−1525310151101101531025−1511025710
v ≔ 1,0,−1,3
v≔10−13
w ≔ `.`⁡P,v
w≔012132
Basis⁡op⁡S,w=S
1234,4321=1234,4321
`.`⁡w,v−w
0
ProjectionMatrix⁡a,1
a2a2+1aa2+1aa2+11a2+1
The Student[LinearAlgebra][ProjectionMatrix] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
Matrix
Vector
Download Help Document