ARESAME is the jCommon module of jLab.

 ARESAME Test whether two N-D arrays are the same.
 
    ARESAME(X,Y) first checks if X and Y are the same size, and if so, 
    checks if every element in X is equal to the corresponding
    element in Y.  If so, ARESAME returns 1, otherwise it returns 0.
 
    ARESAME considers two NAN values to be equal.  
 
    ARESAME(X,Y,TOL) uses a numerical tolerance TOL on the maximum
    absolute value of the difference between X and Y as a test of 
    sameness.
    _________________________________________________________________
    This is part of JLAB --- type 'help jlab' for more information 
    (C) 2003--2015 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index