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

  • AbstractDerivative
  • Determinant
  • MarkovWeightedRandom
  • Sum
  • Trace
  • Overview
  • Namespace
  • Class
  • Tree

Class Determinant

Find the Determinant of a square matrix det(M)

Chippyash\Math\Matrix\Derivative\AbstractDerivative implements Chippyash\Math\Matrix\Interfaces\DerivativeInterface uses Chippyash\Matrix\Traits\Debug (not available)
Extended by Chippyash\Math\Matrix\Derivative\Determinant implements Chippyash\Math\Matrix\Interfaces\TuningInterface uses Chippyash\Matrix\Traits\AssertMatrixIsSquare (not available)
Namespace: Chippyash\Math\Matrix\Derivative
Located at Derivative/Determinant.php
Methods summary
public
# __construct( integer $method = self::METHOD_AUTO )

Constructor

Constructor

Parameters

$method
public numeric
# derive( Chippyash\Math\Matrix\NumericMatrix $mA, mixed $extra = null )

Find det(M) $mA must be none empty AND square

Find det(M) $mA must be none empty AND square

Parameters

$mA
$extra

Returns

numeric

Throws

Chippyash/Math/Matrix/Exceptions/UndefinedComputationException
Chippyash/Math/Matrix/Exceptions/ComputationException
public mixed
# tune( Chippyash\Type\String\StringType $name, mixed $value )

Tune an item on a class. Available items: - luLimit: int Matrix size (n=m) limit for LU decomposition when using the auto method

Tune an item on a class. Available items: - luLimit: int Matrix size (n=m) limit for LU decomposition when using the auto method

Parameters

$name
Item to tune
$value
Value to set

Returns

mixed
  • previous value of item

Throws

InvalidArgumentException
if name does not exist

Implementation of

Chippyash\Math\Matrix\Interfaces\TuningInterface::tune()
Methods inherited from Chippyash\Math\Matrix\Derivative\AbstractDerivative
__invoke()
Constants summary
integer METHOD_AUTO
# 0
integer METHOD_LAPLACE
# 1
integer METHOD_LU
# 2
Chippyash Math Matrix API documentation generated by ApiGen