class PHPExcel_Shared_JAMA_QRDecomposition

Constants

MATRIX_RANK_EXCEPTION

Methods

Structure
__construct($A)

QR Decomposition computed by Householder reflections.

isFullRank()

Is the matrix full rank?

getH()

Return the Householder vectors

getR()

Return the upper triangular factor

getQ()

Generate and return the (economy-sized) orthogonal factor

Matrix
solve($B)

Least squares solution of A*X = B

Details

at line 63
Structure __construct($A)

QR Decomposition computed by Householder reflections.

@param matrix $A Rectangular matrix

Parameters

$A

Return Value

Structure to access R and the Householder vectors and compute Q.

at line 111
isFullRank()

Is the matrix full rank?

@return boolean true if R, and hence A, has full rank, else false.

at line 126
getH()

Return the Householder vectors

@return Matrix Lower trapezoidal matrix whose columns define the reflections

at line 145
getR()

Return the upper triangular factor

@return Matrix upper triangular factor

at line 166
getQ()

Generate and return the (economy-sized) orthogonal factor

@return Matrix orthogonal factor

at line 204
Matrix solve($B)

Least squares solution of A*X = B

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

Parameters

$B

Return Value

Matrix Matrix that minimizes the two norm of QRX-B.