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

  • AsciiNumeric
  • DirectedGraph
  • Overview
  • Namespace
  • Class
  • Tree

Class DirectedGraph

Create a Graphviz directed graph definition

Chippyash\Math\Matrix\Formatter\DirectedGraph implements Chippyash\Matrix\Interfaces\FormatterInterface
Namespace: Chippyash\Math\Matrix\Formatter
Located at Formatter/DirectedGraph.php
Methods summary
public Fhaculty\Graph\Graph|string
# format( Chippyash\Matrix\Matrix $mA, array $options = array() )

Format the matrix contents for outputting

Format the matrix contents for outputting

Parameters

$mA
Matrix to format
$options

Options for formatter - attribs => Collection of VertexDescription - optional: edgeFunc => function($weight){return $newWeight;} - optional: output:string script|object default = script

If output is script, return the graphviz dot file contents If output is object then return Fhaculty\Graph\Graph for your own processing via Graphp\GraphViz\GraphViz

Returns

Fhaculty\Graph\Graph|string
Chippyash Math Matrix API documentation generated by ApiGen