Learn R Programming

nlsic (version 1.2.0)

ls_ln: Linear Least Squares, least norm solution

Description

Linear Least Squares, least norm solution

Usage

ls_ln(a, b, rcond = 1e+10, mnorm = NULL, x0 = NULL)

Value

solution vector

Arguments

a

matrix or its QR decomposition

b

vector or matrix of right hand sides

rcond

maximal condition number for rank definition

mnorm

norm matrix (can be dense or sparse) for which %*% operation with a dense vector is defined

x0

optional vector from which a least norm distance is searched for