Mercurial > octave-nkf
comparison scripts/general/isequal.m @ 5642:2618a0750ae6
[project @ 2006-03-06 21:26:48 by jwe]
author | jwe |
---|---|
date | Mon, 06 Mar 2006 21:26:54 +0000 |
parents | 815926a781f6 |
children | 067948dc39bf |
comparison
equal
deleted
inserted
replaced
5641:eb998631a4aa | 5642:2618a0750ae6 |
---|---|
17 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} isequal (@var{x1}, @var{x2}, @dots{}) | 20 ## @deftypefn {Function File} {} isequal (@var{x1}, @var{x2}, @dots{}) |
21 ## Return true if all of @var{x1}, @var{x2}, @dots{} are equal. | 21 ## Return true if all of @var{x1}, @var{x2}, @dots{} are equal. |
22 ## @seealso{isequalwithequalnans} | |
22 ## @end deftypefn | 23 ## @end deftypefn |
23 ## | |
24 ## @seealso{isequalwithequalnans} | |
25 | 24 |
26 function retval = isequal (x, varargin) | 25 function retval = isequal (x, varargin) |
27 | 26 |
28 if (nargin > 1) | 27 if (nargin > 1) |
29 retval = __isequal__ (0, x, varargin{:}); | 28 retval = __isequal__ (0, x, varargin{:}); |