Home > marsbar > @mars_space > eq.m

eq

PURPOSE ^

overloaded eq method for mars_space objects

SYNOPSIS ^

function tf = eq(sp1, sp2)

DESCRIPTION ^

 overloaded eq method for mars_space objects

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019