\PHPExcel_Shared_JAMA_LUDecomposition

Summary

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

Constants

MatrixSingularException

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

MatrixSquareException

MatrixSquareException = "Mismatched Row dimension"

Properties

$LU

$LU : array

Decomposition storage

Type

array

$m

$m : integer

Row dimension.

Type

integer

$n

$n : integer

Column dimension.

Type

integer

$pivsign

$pivsign : integer

Pivot sign.

Type

integer

$piv

$piv : array

Internal storage of pivot vector.

Type

array

Methods

__construct()

__construct(  $A) : \Structure

LU Decomposition constructor.

Parameters

$A

Rectangular matrix

Returns

\Structure —

to access L, U and piv.

getL()

getL() : array

Get lower triangular factor.

Returns

array —

Lower triangular factor

getU()

getU() : array

Get upper triangular factor.

Returns

array —

Upper triangular factor

getPivot()

getPivot() : array

Return pivot permutation vector.

Returns

array —

Pivot vector

getDoublePivot()

getDoublePivot() 

Alias for getPivot

isNonsingular()

isNonsingular() : true

Is the matrix nonsingular?

Returns

true —

if U, and hence A, is nonsingular.

det()

det() : array

Count determinants

Returns

array —

d matrix deterninat

solve()

solve(  $B) : \X

Solve A*X = B

Parameters

$B

A Matrix with as many rows as A and any number of columns.

Returns

\X —

so that LUX = B(piv,:)