Home > matgraph > @graph > uminus.m

uminus

PURPOSE ^

uminus(g) --- operator form of complement: h = -g;

SYNOPSIS ^

function h = uminus(g)

DESCRIPTION ^

 uminus(g) --- operator form of complement: h = -g;
 WARNING: creates a new graph
 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 h = uminus(g)
0002 % uminus(g) --- operator form of complement: h = -g;
0003 % WARNING: creates a new graph
0004 % THIS FUNCTION IS STRONGLY DEPROCATED. I PLAN TO REMOVE IT FROM MATGRAPH.
0005 
0006 h = graph;
0007 copy(h,g);
0008 complement(h);

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