Home > matgraph > @graph > nv.m

nv

PURPOSE ^

nv(g) --- number of vertices in g

SYNOPSIS ^

function n = nv(g)

DESCRIPTION ^

 nv(g) --- number of vertices in g

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function n = nv(g) 
0002 % nv(g) --- number of vertices in g
0003 
0004 global GRAPH_MAGIC
0005 n = length(GRAPH_MAGIC.graphs{g.idx}.array);

Generated on Thu 13-Mar-2008 14:23:52 by m2html © 2003