function varargout = cond(varargin)
%COND Condition number with respect to inversion for codistributed array.
%   COND(X)
%   COND(X,P) 
%    
%   Class support for input X:
%   float: double, single
%   
%   COND for codistributed inputs does not support sparse inputs.
%   
%   Example:
%   spmd
%       N = 1024;
%       A = diag(codistributed.colon(1,N));
%       C = cond(A, 1) % returns N
%   end
%   
%   See also COND, CODISTRIBUTED.


%   Copyright 2012-2019 The MathWorks, Inc.

% try...catch prevents error being reported by internal
try
    [varargout{1:nargout}] = parallel.internal.flowthrough.cond(varargin{:});
catch ME
    throw(ME);
end

end