givens_orth: Givens orthogonalisation

Description Usage Arguments Value Examples

View source: R/which_lt.R

Description

Orthogonalization using Givens' method.

Usage

1
givens_orth(X, nullspace = FALSE)

Arguments

X

a numeric matrix with ncol(X) <= nrow(X)

nullspace

logical: do you want an orthogonal basis for the null space?

Value

A list with components Q, R, as normally defined, and if nullspace is TRUE a further component N giving the basis for the requested null space of X

Examples

1
2
3
set.seed(1234)
X <- matrix(rnorm(7*6), 7)
givens_orth(X, nullspace = TRUE)

BillVenables/WWRUtilities documentation built on Jan. 26, 2021, 10:18 p.m.