projectOnto: Vector Projection onto col(A)

Description Usage Arguments Value See Also Examples

View source: R/helpers.r

Description

Project a vector onto the column space of a matrix.

Usage

1

Arguments

A

a matrix

x

a vector

Value

...

See Also

qr.fitted

Examples

1
2
3
A <- diag(5)[,1:2]
x <- 1:5
projectOnto(A, x)

Example output

Loading required package: mpoly
Loading required package: stringr
Set Macaulay2 path with setM2Path().
Set Bertini path with setBertiniPath().
Set LattE-integrale path with setLattePath().
Set 4ti2 path with setMarkovPath().
[1] 1 2 0 0 0

algstat documentation built on May 29, 2017, 10:34 p.m.

Related to projectOnto in algstat...