Method rational/isequal


  ISEQUAL overloads the isequal operator for ltpda objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: ISEQUAL overloads the isequal operator for ltpda objects.
 
               All fields are checked.
 
  CALL:        result = isequal(obj1,obj2)
               result = isequal(obj1,obj2,  exc_list)
               result = isequal(obj1,obj2, 'property1', 'property2')
               result = isequal(obj1,obj2, '<class>/property', '<class>/property')
 
               With a PLIST
 
               r = isequal(obj1, obj2, plist('Exceptions', {'prop1', 'prop2'}))
               r = isequal(obj1, obj2, plist('Tol', eps(1)))
               r = isequal(obj1, obj2, plist('Exceptions', 'prop', 'Tol', 1e-14))
 
  EXAMPLES:    result = isequal(obj1,obj2, 'name', 'created')
               result = isequal(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
 
  VERSION:     $Id: isequal.m,v 1.3 2012/05/09 14:17:04 mauro Exp $
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
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/isequal are listed below:
Class name ltpda_obj
Method name isequal
Category Relational Operator
CVS Version $Id: isequal.m,v 1.3 2012/05/09 14:17:04 mauro Exp $
Min input args 2
Max input args -1
Min output args 1
Max output args -1




©LTP Team