GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Graph::Matrix(3) User Contributed Perl Documentation Graph::Matrix(3)

Graph::Matrix - create and manipulate a V x V matrix of graph G

    use Graph::Matrix;
    use Graph::Directed;
    my $g  = Graph::Directed->new;
    $g->add_...(); # build $g
    my $m = Graph::Matrix->new($g);
    $m->get($u, $v)
    $s->get($u, $v, $val)

This module is meant for internal use by the Graph module.

new($g)
Construct a new Matrix from the Graph $g.

get($u, $v)
Return the value at the edge from $u to $v.
set($u, $v, $val)
Set the edge from $u to $v to value $val.
stringify
Returns a string roughly representing the matrix, with the $u down the left-hand side, and $v across the top.

Jarkko Hietaniemi jhi@iki.fi

This module is licensed under the same terms as Perl itself.
2021-01-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.