Lls: Lls

Description Usage Arguments Value

Description

Calculates the minimum norm least squares solution x (||A·x - b||^2) to A·x = b. This is x = V·D\dagger·U^T·b. Where U and V are orthogonal matrices and Ddagger contains the inverse values of the singular values contained in D if they are not zero, and zero otherwise.

Usage

1
Lls(arr.a, arr.b)

Arguments

arr.a

KHIVA Array with the coefficients of the linear equation problem to solve.

arr.b

KHIVA Array with the measured values.

Value

Contains the solution to the linear equation problem minimizing the norm 2.


shapelets/khiva-r documentation built on June 10, 2019, 4:58 a.m.