h = mtimes(g1,g2) [or g1*g2] --- operator form of cartesian WARNING: This method creates a new graph; if you don't save the result, a dangling pointer / memory leak will result. THIS FUNCTION IS STRONGLY DEPROCATED; I PLAN TO REMOVE IT FROM MATGRAPH.
0001 function h = mtimes(g1,g2) 0002 % h = mtimes(g1,g2) [or g1*g2] --- operator form of cartesian 0003 % WARNING: This method creates a new graph; if you don't save the result, a 0004 % dangling pointer / memory leak will result. 0005 % THIS FUNCTION IS STRONGLY DEPROCATED; I PLAN TO REMOVE IT FROM MATGRAPH. 0006 0007 h = graph; 0008 cartesian(h,g1,g2);