\PHPExcel_Shared_JAMA_LUDecomposition

Summary

Methods
Properties
Constants
__construct()
getL()
getU()
getPivot()
getDoublePivot()
isNonsingular()
det()
solve()
No public properties found
MATRIX_SINGULAR_EXCEPTION
MATRIX_SQUARE_EXCEPTION
No protected methods found
No protected properties found
N/A
No private methods found
$LU
$m
$n
$pivsign
$piv
N/A

Constants

MATRIX_SINGULAR_EXCEPTION

MATRIX_SINGULAR_EXCEPTION = "Can only perform operation on singular matrix."

MATRIX_SQUARE_EXCEPTION

MATRIX_SQUARE_EXCEPTION = "Mismatched Row dimension"

Properties

$LU

$LU : 

Decomposition storage

@var array

Type

$m

$m : 

Row dimension.

@var int

Type

$n

$n : 

Column dimension.

@var int

Type

$pivsign

$pivsign : 

Pivot sign.

@var int

Type

$piv

$piv : 

Internal storage of pivot vector.

@var array

Type

Methods

__construct()

__construct(  $A) : \Structure

LU Decomposition constructor.

@param $A Rectangular matrix

Parameters

$A

Returns

\Structure —

to access L, U and piv.

getL()

getL() 

Get lower triangular factor.

@return array Lower triangular factor

getU()

getU() 

Get upper triangular factor.

@return array Upper triangular factor

getPivot()

getPivot() 

Return pivot permutation vector.

@return array Pivot vector

getDoublePivot()

getDoublePivot() 

Alias for getPivot

@see getPivot

isNonsingular()

isNonsingular() 

Is the matrix nonsingular?

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

det()

det() 

Count determinants

@return array d matrix deterninat

solve()

solve(  $B) : \X

Solve A*X = B

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

Parameters

$B

Returns

\X —

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