\CholeskyDecomposition

Summary

Methods
Properties
Constants
__construct()
isSPD()
getL()
solve()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$L
$m
$isspd
N/A

Properties

$L

$L : array

Decomposition storage

Type

array

$m

$m : int

Matrix row and column dimension

Type

int

$isspd

$isspd : bool

Symmetric positive definite flag

Type

bool

Methods

__construct()

__construct(mixed  $A = null) : mixed

CholeskyDecomposition

Class constructor - decomposes symmetric positive definite matrix

Parameters

mixed $A

Returns

mixed —

isSPD()

isSPD() : bool

Is the matrix symmetric and positive definite?

Returns

bool —

getL()

getL() : \Matrix

getL

Return triangular factor.

Returns

\Matrix —

Lower triangular matrix

solve()

solve( $B = null) : \Matrix

Solve A*X = B

Parameters

$B

Row-equal matrix

Returns

\Matrix —

L * L' * X = B