Method parfrac/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
VERSION: $Id: eq.m,v 1.36 2012/01/12 20:51:39 mauro Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
ltpda_obj |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
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
Some information of the method ltpda_obj/eq are listed below: |
Class name |
ltpda_obj |
Method name |
eq |
Category |
Relational Operator |
CVS Version |
$Id: eq.m,v 1.36 2012/01/12 20:51:39 mauro Exp $ |
Min input args |
2 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: parfrac/viewHistory |
|
Method: parfrac/ne |
 |
©LTP Team