1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45:
<?php
/*
* Math-Matrix library
*
* @author Ashley Kitson <akitson@zf4.biz>
* @copyright Ashley Kitson, UK, 2014
* @licence GPL V3 or later : http://www.gnu.org/licenses/gpl.html
* @link http://en.wikipedia.org/wiki/Matrix_(mathematics)
*/
namespace Chippyash\Math\Matrix\Interfaces;
use Chippyash\Math\Matrix\NumericMatrix;
use Chippyash\Matrix\Interfaces\InvokableInterface;
/**
* Interface for a Matrix decomposition
* Decompositions return n>1 products so we need additional support to access
* those products.
*
* @codeCoverageIgnore
*/
interface DecompositionInterface extends InvokableInterface
{
/**
* Decompose a numeric matrix
*
* @param Chippyash\Math\Matrix\NumericMatrix $mA matrix to decompose
* @param mixed $extra Additional information required for the decomposition
*
* @throws Chippyash\Matrix\Exceptions\ComputationException
* @return Chippyash\Math\Matrix\Interfaces\DecompositionInterface Fluent Interface
*/
public function decompose(NumericMatrix $mA, $extra = null);
/**
* Get a decomposition product
* The nature of the product depends on the decomposition
*
* @param string $productName
* @return mixed
* @codeCoverageIgnore
*/
public function product($productName);
}