Functions | |
if (nargin==3) if(!(isscalar(dim)&&dim | |
while (dim< nd+1 &&sz(dim)==1) dim | |
endwhile | if (dim > nd) dim |
endif endif | if (nargin< 2||isempty(tol)) tol |
if (m==1) retval | |
!else | !if (nargin==2)%!tol=0 |
!endif | !if (any(size(a)!=size(b)))%!t=0 |
!elseif (any(abs(a(:)-b(:)) > tol))%!t=0 | |
!t (++i) | |
!assert (all(t)) | |
Variables | |
function | retval |
endif | nd = ndims (a) |
sz = size (a) | |
endif else | dim = 1 |
endif | tol = abs (tol) |
rng = 2*pi | |
m = sz(dim) | |
return | |
endif | idx = cell () |
for | i |
__pad13__ | |
d = a(idx{:}) - a | |
p = rng * (((d > tol) > 0) - ((d < -tol) > 0)) | |
r = cumsum (p, dim) | |
endfunction!function | t |
!else | !t = 1 |
!endif!endif!test | !i = 0 |
!r = [0:100] | |
!w = r - 2*pi*floor((r+pi)/(2*pi)) | |
!tol = 1e3*eps |
!assert | ( | all(t) | ) |
!elseif | ( | any(abs(a(:)-b(:)) > tol) | ) | [pure virtual] |
! endif !if | ( | any(size(a)!=size(b)) | ) | [pure virtual] |
!t | ( | ++ | i | ) |
if | ( | m | = =1 |
) |
if | ( | nargin | = =3 |
) |
while | ( | ) | [new] |
!r = [0:100] |
!t = 1 |
!tol = 1e3*eps |
d = a(idx{:}) - a |
endif idx = cell () |
m = sz(dim) |
r = cumsum (p, dim) |
return |
sz = size (a) |