ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($A) | |
QR Decomposition computed by Householder reflections. | |
isFullRank () | |
Is the matrix full rank? | |
getH () | |
Return the Householder vectors. | |
getR () | |
Return the upper triangular factor. | |
getQ () | |
Generate and return the (economy-sized) orthogonal factor. | |
solve ($B) | |
Least squares solution of A*X = B. |
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, $X, 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.