ILIAS
Release_4_0_x_branch Revision 61816
|
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. |
Private Attributes | |
$LU = array() | |
$m | |
$n | |
$pivsign | |
$piv = array() |
Definition at line 21 of file LUDecomposition.php.
LUDecomposition::__construct | ( | $A | ) |
LU Decomposition constructor.
$A | Rectangular matrix |
Definition at line 60 of file LUDecomposition.php.
References $m, $n, $t, ArgumentTypeException, JAMAError(), and n.
LUDecomposition::det | ( | ) |
Count determinants.
Definition at line 200 of file LUDecomposition.php.
References $d, $n, $pivsign, JAMAError(), MatrixDimensionException, and n.
LUDecomposition::getDoublePivot | ( | ) |
Alias for getPivot.
Definition at line 175 of file LUDecomposition.php.
References getPivot().
LUDecomposition::getL | ( | ) |
Get lower triangular factor.
Definition at line 125 of file LUDecomposition.php.
References $m, $n, and elseif().
LUDecomposition::getPivot | ( | ) |
Return pivot permutation vector.
Definition at line 165 of file LUDecomposition.php.
References $piv.
Referenced by getDoublePivot().
LUDecomposition::getU | ( | ) |
Get upper triangular factor.
Definition at line 146 of file LUDecomposition.php.
References $n.
LUDecomposition::isNonsingular | ( | ) |
Is the matrix nonsingular?
Definition at line 185 of file LUDecomposition.php.
References $n.
Referenced by solve().
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 221 of file LUDecomposition.php.
References $m, $n, $X, isNonsingular(), JAMAError(), and MatrixSingularException.
|
private |
Definition at line 27 of file LUDecomposition.php.
|
private |
Definition at line 33 of file LUDecomposition.php.
Referenced by __construct(), getL(), and solve().
|
private |
Definition at line 39 of file LUDecomposition.php.
Referenced by __construct(), det(), getL(), getU(), isNonsingular(), and solve().
|
private |
Definition at line 51 of file LUDecomposition.php.
Referenced by getPivot().
|
private |
Definition at line 45 of file LUDecomposition.php.
Referenced by det().