ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($A) | |
LU Decomposition constructor. | |
getL () | |
Get lower triangular factor. | |
getU () | |
Get upper triangular factor. | |
getPivot () | |
Return pivot permutation vector. | |
getDoublePivot () | |
Alias for getPivot. | |
isNonsingular () | |
Is the matrix nonsingular? | |
det () | |
Count determinants. | |
solve ($B) | |
Solve A*X = B. |
Data Fields | |
const | MatrixSingularException = "Can only perform operation on singular matrix." |
const | MatrixSquareException = "Mismatched Row dimension" |
Private Attributes | |
$LU = array() | |
$m | |
$n | |
$pivsign | |
$piv = array() |
Definition at line 21 of file LUDecomposition.php.
PHPExcel_Shared_JAMA_LUDecomposition::__construct | ( | $A | ) |
LU Decomposition constructor.
$A | Rectangular matrix |
Definition at line 63 of file LUDecomposition.php.
References $m, $n, $t, PHPExcel_Shared_JAMA_Matrix\ArgumentTypeException, and n.
PHPExcel_Shared_JAMA_LUDecomposition::det | ( | ) |
Count determinants.
Definition at line 203 of file LUDecomposition.php.
References $d, $n, $pivsign, PHPExcel_Shared_JAMA_Matrix\MatrixDimensionException, and n.
PHPExcel_Shared_JAMA_LUDecomposition::getDoublePivot | ( | ) |
Alias for getPivot.
Definition at line 178 of file LUDecomposition.php.
References getPivot().
PHPExcel_Shared_JAMA_LUDecomposition::getL | ( | ) |
Get lower triangular factor.
Definition at line 128 of file LUDecomposition.php.
PHPExcel_Shared_JAMA_LUDecomposition::getPivot | ( | ) |
Return pivot permutation vector.
Definition at line 168 of file LUDecomposition.php.
References $piv.
Referenced by getDoublePivot().
PHPExcel_Shared_JAMA_LUDecomposition::getU | ( | ) |
Get upper triangular factor.
Definition at line 149 of file LUDecomposition.php.
References $n.
PHPExcel_Shared_JAMA_LUDecomposition::isNonsingular | ( | ) |
Is the matrix nonsingular?
Definition at line 188 of file LUDecomposition.php.
References $n.
Referenced by solve().
PHPExcel_Shared_JAMA_LUDecomposition::solve | ( | $B | ) |
Solve A*X = B.
$B | A Matrix with as many rows as A and any number of columns. |
IllegalArgumentException | Matrix row dimensions must agree. |
RuntimeException | Matrix is singular. |
Definition at line 224 of file LUDecomposition.php.
References $m, $n, $X, isNonsingular(), and MatrixSingularException.
|
private |
Definition at line 30 of file LUDecomposition.php.
|
private |
Definition at line 36 of file LUDecomposition.php.
Referenced by __construct(), getL(), and solve().
|
private |
Definition at line 42 of file LUDecomposition.php.
Referenced by __construct(), det(), getL(), getU(), isNonsingular(), and solve().
|
private |
Definition at line 54 of file LUDecomposition.php.
Referenced by getPivot().
|
private |
Definition at line 48 of file LUDecomposition.php.
Referenced by det().
const PHPExcel_Shared_JAMA_LUDecomposition::MatrixSingularException = "Can only perform operation on singular matrix." |
Definition at line 23 of file LUDecomposition.php.
const PHPExcel_Shared_JAMA_LUDecomposition::MatrixSquareException = "Mismatched Row dimension" |
Definition at line 24 of file LUDecomposition.php.