Home > classes > @pzmodel > ne.m

ne

PURPOSE ^

NE overloads the ~= operator for pzmodel objects.

SYNOPSIS ^

function result = ne(p1,p2)

DESCRIPTION ^

 NE overloads the ~= operator for pzmodel objects.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: NE overloads the ~= operator for pzmodel objects.

 CALL:       result = ne(p1,p1)

 INPUTS:     p1,p2 - input pzmodel objects

 OUTPUTS:    If the two pzmodel objects are considered equal, result == 0,
             otherwise, result == 1.
 
 VERSION:     $Id: param.m,v 1.7 2007/08/17 11:22:11 ingo Exp $

 HISTORY:     29-08-2007 M Hewitson
                 Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function result = ne(p1,p2)
0002 
0003 % NE overloads the ~= operator for pzmodel objects.
0004 %
0005 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0006 %
0007 % DESCRIPTION: NE overloads the ~= operator for pzmodel objects.
0008 %
0009 % CALL:       result = ne(p1,p1)
0010 %
0011 % INPUTS:     p1,p2 - input pzmodel objects
0012 %
0013 % OUTPUTS:    If the two pzmodel objects are considered equal, result == 0,
0014 %             otherwise, result == 1.
0015 %
0016 % VERSION:     $Id: param.m,v 1.7 2007/08/17 11:22:11 ingo Exp $
0017 %
0018 % HISTORY:     29-08-2007 M Hewitson
0019 %                 Creation
0020 %
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 
0023 if eq(p1,p2)
0024   result = 0;
0025 else
0026   result = 1;
0027 end
0028 
0029 % END

Generated on Mon 03-Sep-2007 12:12:34 by m2html © 2003