overloaded eq method for mars_space objects $Id$
0001 function tf = eq(sp1, sp2) 0002 % overloaded eq method for mars_space objects 0003 % 0004 % $Id$ 0005 0006 if all(sp1.dim == sp2.dim) & all((abs(sp1.mat(:) - sp2.mat(:)))< eps) 0007 tf = 1; 0008 else 0009 tf = 0; 0010 end