function [varargout] = isequalwithequalnans( varargin )
%ISEQUALWITHEQUALNANS True if distributed arrays are numerically equal
%   TF = ISEQUALWITHEQUALNANS(A,B)
%   TF = ISEQUALWITHEQUALNANS(A,B,C,...)
%   
%   Example:
%       N = 1000;
%       D = distributed.nan(N);
%       f = isequal(D,D)
%       t = isequalwithequalnans(D,D)
%   
%   returns f = false and t = true.
%   
%   See also ISEQUALWITHEQUALNANS, DISTRIBUTED, DISTRIBUTED/NAN.


%   Copyright 2006-2020 The MathWorks, Inc.

varargout = cell( 1, max( nargout, 1 ) );
[varargout{:}] = distributedutil.distributedSpmdWrapper( @isequalwithequalnans, varargin{:} );
end
