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 Trace

Find the Trace of a square matrix tr(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\Trace uses Chippyash\Matrix\Traits\AssertMatrixIsNotEmpty (not available) Chippyash\Matrix\Traits\AssertMatrixIsSquare (not available)
Namespace: Chippyash\Math\Matrix\Derivative
Located at Derivative/Trace.php
Methods summary
public numeric
# derive( Chippyash\Math\Matrix\NumericMatrix $mA, mixed $extra = null )

Find tr(M)

Find tr(M)

Parameters

$mA
$extra

Returns

numeric

Throws

Chippyash/Math/Matrix/Exceptions/UndefinedComputationException
Methods inherited from Chippyash\Math\Matrix\Derivative\AbstractDerivative
__invoke()
Chippyash Math Matrix API documentation generated by ApiGen