Method matrix/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
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ltpda_obj
Sealed 0
Static 0

Parameter Description

Default

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

Example

plist('EXCEPTIONS', cell(0,0), 'TOL', [2.2204460492503131e-16])

back to top back to top

Some information of the method ltpda_obj/ltpda_obj.isequalMain are listed below:
Class name ltpda_obj
Method name ltpda_obj.isequalMain
Category Relational Operator
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 2
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team