ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct ($A) | |
QR Decomposition computed by Householder reflections. More... | |
isFullRank () | |
Is the matrix full rank? More... | |
getH () | |
Return the Householder vectors. More... | |
getR () | |
Return the upper triangular factor. More... | |
getQ () | |
Generate and return the (economy-sized) orthogonal factor. More... | |
solve ($B) | |
Least squares solution of A*X = B. More... | |
Data Fields | |
const | MatrixRankException = "Can only perform operation on full-rank matrix." |
Private Attributes | |
$QR = array() | |
$m | |
$n | |
$Rdiag = array() | |
Definition at line 19 of file QRDecomposition.php.
PHPExcel_Shared_JAMA_QRDecomposition::__construct | ( | $A | ) |
QR Decomposition computed by Householder reflections.
matrix | $A | Rectangular matrix |
Definition at line 54 of file QRDecomposition.php.
References $m, $n, PHPExcel_Shared_JAMA_Matrix\ArgumentTypeException, hypo(), and n.
PHPExcel_Shared_JAMA_QRDecomposition::getH | ( | ) |
Return the Householder vectors.
Definition at line 116 of file QRDecomposition.php.
PHPExcel_Shared_JAMA_QRDecomposition::getQ | ( | ) |
Generate and return the (economy-sized) orthogonal factor.
Definition at line 156 of file QRDecomposition.php.
PHPExcel_Shared_JAMA_QRDecomposition::getR | ( | ) |
Return the upper triangular factor.
Definition at line 135 of file QRDecomposition.php.
References $n.
PHPExcel_Shared_JAMA_QRDecomposition::isFullRank | ( | ) |
Is the matrix full rank?
Definition at line 101 of file QRDecomposition.php.
References $n.
Referenced by solve().
PHPExcel_Shared_JAMA_QRDecomposition::solve | ( | $B | ) |
Least squares solution of A*X = B.
Matrix | $B | A Matrix with as many rows as A and any number of columns. |
Definition at line 194 of file QRDecomposition.php.
References $m, $n, isFullRank(), PHPExcel_Shared_JAMA_Matrix\MatrixDimensionException, and MatrixRankException.
|
private |
Definition at line 33 of file QRDecomposition.php.
Referenced by __construct(), getH(), getQ(), and solve().
|
private |
Definition at line 39 of file QRDecomposition.php.
Referenced by __construct(), getH(), getQ(), getR(), isFullRank(), and solve().
|
private |
Definition at line 27 of file QRDecomposition.php.
|
private |
Definition at line 45 of file QRDecomposition.php.
const PHPExcel_Shared_JAMA_QRDecomposition::MatrixRankException = "Can only perform operation on full-rank matrix." |
Definition at line 21 of file QRDecomposition.php.