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

  • AbstractComputation
  • AbstractEntryWiseComputation
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractEntryWiseComputation

Abstract base to run an entrywise computation on a matrix Two standard Matrix calcs are Addition and Subtraction You can also do entrywise multiplication and division

Chippyash\Math\Matrix\Computation\AbstractComputation implements Chippyash\Math\Matrix\Interfaces\ComputatationInterface uses Chippyash\Matrix\Traits\Debug (not available)
Extended by Chippyash\Math\Matrix\Computation\AbstractEntryWiseComputation uses Chippyash\Matrix\Traits\AssertParameterIsMatrix (not available) Chippyash\Matrix\Traits\AssertMatrixRowsAreEqual (not available) Chippyash\Matrix\Traits\AssertMatrixColumnsAreEqual (not available) Chippyash\Math\Matrix\Traits\CreateCorrectMatrixType

Direct known subclasses

Chippyash\Math\Matrix\Computation\Add\Matrix, Chippyash\Math\Matrix\Computation\Div\Entrywise, Chippyash\Math\Matrix\Computation\Mul\Entrywise, Chippyash\Math\Matrix\Computation\Sub\Matrix
Abstract
Namespace: Chippyash\Math\Matrix\Computation
Located at Computation/AbstractEntryWiseComputation.php
Methods summary
public Chippyash\Math\Matrix\NumericMatrix
# compute( Chippyash\Math\Matrix\NumericMatrix $mA, mixed $extra = null )

Parameters

$mA
First matrix to act on - required
$extra
NumericMatrix or other parameter required by the computation

Returns

Chippyash\Math\Matrix\NumericMatrix

Throws

BadMethodCallException

Inheritdoc

Methods inherited from Chippyash\Math\Matrix\Computation\AbstractComputation
__invoke()
Chippyash Math Matrix API documentation generated by ApiGen