JAMA
[ class tree: JAMA ] [ index: JAMA ] [ all elements ]

Class: LUDecomposition

Source Location: /PHPExcel/Shared/JAMA/LUDecomposition.php

Class Overview




Author(s):

  • Michael Bommarito
  • Paul Meagher
  • Bartosz Matosiuk

Version:

  • 1.1

Variables

Methods



Class Details

[line 21]


Tags:

author:  Michael Bommarito
author:  Paul Meagher
author:  Bartosz Matosiuk
version:  1.1
license:  PHP


[ Top ]


Class Variables

$LU = array()

[line 26]

Decomposition storage

Decomposition storage



Type:   array


[ Top ]

$m =

[line 32]

Row dimension.

Row dimension.



Type:   int


[ Top ]

$n =

[line 38]

Column dimension.

Column dimension.



Type:   int


[ Top ]

$piv = array()

[line 50]

Internal storage of pivot vector.

Internal storage of pivot vector.



Type:   array


[ Top ]

$pivsign =

[line 44]

Pivot sign.

Pivot sign.



Type:   int


[ Top ]



Class Methods


constructor LUDecomposition [line 57]

Structure LUDecomposition( $A $A)

LU Decomposition constructor.

LU Decomposition constructor.




Tags:

return:  to access L, U and piv.


Parameters:

$A   $A   Rectangular matrix

[ Top ]

method det [line 177]

array det( )

Count determinants

Count determinants




Tags:

return:  d matrix deterninat


[ Top ]

method getDoublePivot [line 157]

void getDoublePivot( )

Alias for getPivot

Alias for getPivot




Tags:



[ Top ]

method getL [line 115]

array getL( )

Get lower triangular factor.

Get lower triangular factor.




Tags:

return:  Lower triangular factor


[ Top ]

method getPivot [line 149]

array getPivot( )

Return pivot permutation vector.

Return pivot permutation vector.




Tags:

return:  Pivot vector


[ Top ]

method getU [line 133]

array getU( )

Get upper triangular factor.

Get upper triangular factor.




Tags:

return:  Upper triangular factor


[ Top ]

method isNonsingular [line 165]

true isNonsingular( )

Is the matrix nonsingular?

Is the matrix nonsingular?




Tags:

return:  if U, and hence A, is nonsingular.


[ Top ]

method solve [line 195]

X solve( $B $B)

Solve A*X = B

Solve A*X = B




Tags:

return:  so that L*U*X = B(piv,:)
exception:  IllegalArgumentException Matrix row dimensions must agree.
exception:  RuntimeException Matrix is singular.


Parameters:

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

[ Top ]


Documentation generated on Mon, 05 Jan 2009 20:38:02 +0100 by phpDocumentor 1.4.1