projectOntoPerp: Vector Projection onto the orthogonal complement of col(A)

Description Usage Arguments Value Examples

View source: R/helpers.r

Description

Project a vector onto the orthogonal complement of the column space of a matrix; the null space of A transpose

Usage

1

Arguments

A

a matrix

x

a vector

Value

...

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.