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

  • Laplace
  • Lu
  • Overview
  • Namespace
  • Class
  • Tree

Class Laplace

Laplace expansion strategy for matrix determinant Computing up to about M[9] is about as much as you can do with this method of computing determinants in a reasonable time.

Chippyash\Math\Matrix\Derivative\Strategy\Determinant\Laplace implements Chippyash\Math\Matrix\Interfaces\DeterminantStrategyInterface, Chippyash\Math\Matrix\Interfaces\TuningInterface uses Chippyash\Math\Matrix\Traits\CreateCorrectScalarType
Namespace: Chippyash\Math\Matrix\Derivative\Strategy\Determinant
Link: examples/example-laplace-bounds.php
Located at Derivative/Strategy/Determinant/Laplace.php
Methods summary
public Chippyash\Type\Interfaces\NumericTypeInterface
# determinant( Chippyash\Math\Matrix\NumericMatrix $mA )

Compute determinant using laplace expansion $mA must be - square This is not checked here - that is done in the determinant derivative class

Compute determinant using laplace expansion $mA must be - square This is not checked here - that is done in the determinant derivative class

Parameters

$mA

Returns

Chippyash\Type\Interfaces\NumericTypeInterface

Implementation of

Chippyash\Math\Matrix\Interfaces\DeterminantStrategyInterface::determinant()
public mixed
# tune( Chippyash\Type\String\StringType $name, mixed $value )

Tune an item on a class. Available items: - clearCache : boolean - if $value == true, will clear determinant cache Always returns number of items currently in cache

Tune an item on a class. Available items: - clearCache : boolean - if $value == true, will clear determinant cache Always returns number of items currently in cache

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()
Chippyash Math Matrix API documentation generated by ApiGen