Method pzmodel/eq


  EQ overloads the == operator for ltpda objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: EQ overloads the == operator for ltpda objects.
 
               All fields are checked.
 
  CALL:        result = eq(obj1,obj2)
               result = eq(obj1,obj2,  exc_list)
               result = eq(obj1,obj2, 'property1', 'property2')
               result = eq(obj1,obj2, '<class>/property', '<class>/property')
 
               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))
 
  EXAMPLES:    result = eq(obj1,obj2, 'name', 'created')
               result = eq(obj1,obj2, '<class>/name')
 
  INPUTS:      obj1, obj2 - Input objects
               exc_list   - Exception list
                            List of properties which are not checked.
 
  OUTPUTS:     If the two objects are considered equal, result == true,
               otherwise, result == false.
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ltpda_obj
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 ltpda_obj/isequalMain are listed below:
Class name ltpda_obj
Method name isequalMain
Category Relational Operator
Package name ltpda
VCS Version 8ab8cbbc4bccf7543491a24448f4aae0b1be1c43
Min input args 2
Max input args -1
Min output args 1
Max output args -1




©LTP Team