class PHPExcel_Shared_JAMA_LUDecomposition

Constants

MATRIX_SINGULAR_EXCEPTION

MATRIX_SQUARE_EXCEPTION

Methods

Structure
__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

X
solve($B)

Solve A*X = B

Details

at line 71
Structure __construct($A)

LU Decomposition constructor.

@param $A Rectangular matrix

Parameters

$A

Return Value

Structure to access L, U and piv.

at line 136
getL()

Get lower triangular factor.

@return array Lower triangular factor

at line 157
getU()

Get upper triangular factor.

@return array Upper triangular factor

at line 176
getPivot()

Return pivot permutation vector.

@return array Pivot vector

at line 186
getDoublePivot()

Alias for getPivot

see getPivot

at line 196
isNonsingular()

Is the matrix nonsingular?

@return true if U, and hence A, is nonsingular.

at line 211
det()

Count determinants

@return array d matrix deterninat

at line 232
X solve($B)

Solve A*X = B

@param $B A Matrix with as many rows as A and any number of columns.

Parameters

$B

Return Value

X so that LUX = B(piv,:) @PHPExcelCalculationException IllegalArgumentException Matrix row dimensions must agree. @PHPExcelCalculationException RuntimeException Matrix is singular.