Learn R Programming

gallery (version 1.0.0)

lauchli: Create Lauchli Matrix

Description

the (N + 1) x (N) matrix [ones(1,n); mu*eye(n)]. Well-known example in least squares of the danger of forming t(A)

Usage

lauchli(n, mu = NULL, sparse = FALSE)

Value

Lauchli rectangular matrix.

Arguments

n

number of columns

mu

constant applied to identity

sparse

whether matrix should be sparse