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.
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);