HumHub Documentation (unofficial)

QR
in package

Table of Contents

Properties

$columns  : mixed
$qrMatrix  : mixed
$rDiagonal  : mixed
$rows  : mixed

Methods

__construct()  : mixed
getHouseholdVectors()  : Matrix
getQ()  : Matrix
getR()  : Matrix
isFullRank()  : bool
solve()  : Matrix
Least squares solution of A*X = B.
decompose()  : void
QR Decomposition computed by Householder reflections.
hypo()  : float

Properties

$columns

private mixed $columns

$qrMatrix

private mixed $qrMatrix

$rDiagonal

private mixed $rDiagonal = []

$rows

private mixed $rows

Methods

__construct()

public __construct(Matrix $matrix) : mixed
Parameters
$matrix : Matrix

getHouseholdVectors()

public getHouseholdVectors() : Matrix
Return values
Matrix

isFullRank()

public isFullRank() : bool
Return values
bool

solve()

Least squares solution of A*X = B.

public solve(Matrix $B) : Matrix
Parameters
$B : Matrix

a Matrix with as many rows as A and any number of columns

Tags
throws
Exception
Return values
Matrix

matrix that minimizes the two norm of QRX-B

decompose()

QR Decomposition computed by Householder reflections.

private decompose() : void

hypo()

private hypo(mixed $a, mixed $b) : float
Parameters
$a : mixed
$b : mixed
Return values
float

        
On this page

Search results