Method plist/eq


  EQ overloads the == operator for ltpda plist objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: EQ overloads the == operator for ltpda plist objects.
 
               Two plists are considered equal if each has the same name,
               created time, version, creator and parameter objects. The
               order of the param-objects doesn't matter.
 
  CALL:        result = eq(u1,u2)
 
               With a PLIST
 
               r = eq(obj1, obj2, plist('Exceptions', {'prop1', 'prop2'}))
               r = eq(obj1, obj2, plist('Tol', eps(1)))
               r = eq(obj1, obj2, plist('Exceptions', 'prop', 'Tol', 1e-14))
 
  INPUTS:      pl1, pl2 - Input objects
 
  OUTPUTS:     If the two objects are considered equal, result == true,
               otherwise, result == false.
 
  Parameters Description
 
  VERSION:     $Id: eq.m,v 1.27 2011/04/08 08:56:21 hewitson Exp $
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class plist
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
EXCEPTIONS {} [0x0] none Test the objects without the given property names
TOL 2.2204460492503131e-16 none Test double values with the given tolerance
back to top back to top

Some information of the method plist/eq are listed below:
Class name plist
Method name eq
Category Relational Operator
CVS Version $Id: eq.m,v 1.27 2011/04/08 08:56:21 hewitson Exp $
Min input args 1
Max input args -1
Min output args 1
Max output args -1




©LTP Team