ls_ln {nlsic}R Documentation

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)

Arguments

a

matrix or its QR decomposition

b

vector (or matrix if a is full rank) of right hand side

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

Value

solution vector


[Package nlsic version 1.1.1 Index]