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 AbstractComputation

Base abstract for computations

Has invokable interface

Chippyash\Math\Matrix\Computation\AbstractComputation implements Chippyash\Math\Matrix\Interfaces\ComputatationInterface uses Chippyash\Matrix\Traits\Debug (not available)

Direct known subclasses

Chippyash\Math\Matrix\Computation\AbstractEntryWiseComputation, Chippyash\Math\Matrix\Computation\Add\Scalar, Chippyash\Math\Matrix\Computation\Div\Matrix, Chippyash\Math\Matrix\Computation\Div\Scalar, Chippyash\Math\Matrix\Computation\Mul\Matrix, Chippyash\Math\Matrix\Computation\Mul\Scalar, Chippyash\Math\Matrix\Computation\Sub\Scalar

Indirect 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/AbstractComputation.php
Methods summary
abstract public Chippyash\Math\Matrix\NumericMatrix
# compute( Chippyash\Math\Matrix\NumericMatrix $mA, mixed $extra = null )

Carry out a computation and return the result MUST be overriden

Carry out a computation and return the result MUST be overriden

Parameters

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

Returns

Chippyash\Math\Matrix\NumericMatrix

Throws

BadMethodCallException

Implementation of

Chippyash\Math\Matrix\Interfaces\ComputatationInterface::compute()
public Chippyash\Math\Matrix\NumericMatrix
# __invoke( Chippyash\Math\Matrix\NumericMatrix $mA,…, mixed $extra,… )

Proxy to compute() Allows object to be called as function

Proxy to compute() Allows object to be called as function

Parameters

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

Returns

Chippyash\Math\Matrix\NumericMatrix

Throws

Chippyash/Matrix/Exceptions/ComputationException
Chippyash Math Matrix API documentation generated by ApiGen