Overview

Namespaces

  • Chippyash
    • Math
      • Matrix
        • Attribute
        • Computation
          • Add
          • Div
          • Mul
          • Sub
        • Decomposition
        • Derivative
          • Strategy
            • Determinant
        • Exceptions
        • Formatter
          • DirectedGraph
        • Interfaces
        • Special
        • Traits
        • Transformation
          • Strategy
            • Invert

Classes

  • AbstractDecomposition
  • GaussJordanElimination
  • Lu
  • Overview
  • Namespace
  • Class
  • Tree

Class Lu

This is lifted from the JAMA package and adapted for this library from its PHP4 origin into PHP 5 and to fit the Chippyash\Matrix model You can find the JAMA package at http://www.phpmath.com/build02/JAMA/downloads/ My thanks to the original authors mentioned below

For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n unit lower triangular matrix L, an n-by-n upper triangular matrix U, and a permutation vector piv of length m so that A(piv,:) = L*U. If m < n, then L is m-by-m and U is m-by-n.

The LU decompostion with pivoting always exists, even if the matrix is singular, so the constructor will never fail. The primary use of the LU decomposition is in the solution of square systems of simultaneous linear equations. This will fail if isNonsingular() returns false.

Chippyash\Math\Matrix\Decomposition\AbstractDecomposition implements Chippyash\Math\Matrix\Interfaces\DecompositionInterface
Extended by Chippyash\Math\Matrix\Decomposition\Lu uses Chippyash\Math\Matrix\Traits\CreateCorrectMatrixType, Chippyash\Math\Matrix\Traits\CreateCorrectScalarType
Namespace: Chippyash\Math\Matrix\Decomposition
License: v3.0
Author: Paul Meagher
Author: Bartosz Matosiuk
Author: Michael Bommarito
Version: 1.1
Located at Decomposition/Lu.php
Methods summary
public Chippyash\Matrix\Transformation\Decomposition\Lu
# decompose( Chippyash\Math\Matrix\NumericMatrix $mA, mixed $extra = null )

Do the decomposition

Do the decomposition

Parameters

$mA
$extra
ignored

Returns

Chippyash\Matrix\Transformation\Decomposition\Lu

Throws

Chippyash\Matrix\Exceptions\ComputationExceptio
Methods inherited from Chippyash\Math\Matrix\Decomposition\AbstractDecomposition
__get(), __invoke(), product()
Chippyash Math Matrix API documentation generated by ApiGen