Home > matgraph > @graph > plus.m

plus

PURPOSE ^

k = plus(g,h) --- disjoint union (sum) of graphs

SYNOPSIS ^

function k = plus(g,h)

DESCRIPTION ^

 k = plus(g,h) --- disjoint union (sum) of graphs
 Note: this creates a new graph k.
 May also be called simply as h = g+k.
 DANGER: Using this may result in a dangling handle and a memory leak. See
 the documentation. 
 THIS FUNCTION IS STRONGLY DEPROCATED. I PLAN TO REMOVE IT FROM MATGRAPH.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function k = plus(g,h)
0002 % k = plus(g,h) --- disjoint union (sum) of graphs
0003 % Note: this creates a new graph k.
0004 % May also be called simply as h = g+k.
0005 % DANGER: Using this may result in a dangling handle and a memory leak. See
0006 % the documentation.
0007 % THIS FUNCTION IS STRONGLY DEPROCATED. I PLAN TO REMOVE IT FROM MATGRAPH.
0008 
0009 global GRAPH_MAGIC
0010 
0011 k = graph;
0012 disjoint_union(k,g,h);

Generated on Sat 30-Sep-2006 22:53:19 by m2html © 2003