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:
disjoint_union disjoint_union(g,h,k) --- overwrite g with the disjoint union of the
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);