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 AbstractDecomposition

Base abstract for decomposition

Has invokable interface

Chippyash\Math\Matrix\Decomposition\AbstractDecomposition implements Chippyash\Math\Matrix\Interfaces\DecompositionInterface

Direct known subclasses

Chippyash\Math\Matrix\Decomposition\GaussJordanElimination, Chippyash\Math\Matrix\Decomposition\Lu
Abstract
Namespace: Chippyash\Math\Matrix\Decomposition
Located at Decomposition/AbstractDecomposition.php
Methods summary
abstract public Chippyash\Matrix\Decomposition\AbstractDecomposition
# decompose( Chippyash\Math\Matrix\NumericMatrix $mA, mixed $extra = null )

Run the decomposition transformation after checking that matrix is not empty

Run the decomposition transformation after checking that matrix is not empty

Parameters

$mA
matrix to decompose
$extra
Additional information required for the decomposition

Returns

Chippyash\Matrix\Decomposition\AbstractDecomposition
Fluent Interface

Throws

Chippyash\Matrix\Exceptions\ComputationExceptio

See

DecompositionInterface::decompose

Implementation of

Chippyash\Math\Matrix\Interfaces\DecompositionInterface::decompose()
public mixed
# product( string $productName )

Get a product from the decomposition

Get a product from the decomposition

Parameters

$productName

Returns

mixed

Throws

InvalidArgumentException

Implementation of

Chippyash\Math\Matrix\Interfaces\DecompositionInterface::product()
public mixed
# __get( string $productName )

Magic Get Proxies to get() Allows you to call $decomposition->productName

Magic Get Proxies to get() Allows you to call $decomposition->productName

Parameters

$productName

Returns

mixed
public numeric
# __invoke( Chippyash\Math\Matrix\NumericMatrix $mA,…, mixed $extra,… )

Proxy to decompose() Allows object to be called as function

Proxy to decompose() Allows object to be called as function

Parameters

$mA,…
$extra,…
Additional input required for decomposition

Returns

numeric

Throws

Chippyash/Matrix/Exceptions/ComputationException
Chippyash Math Matrix API documentation generated by ApiGen