function varargout = min(varargin)
%MIN Smallest component of codistributed array
%   M = MIN(X)
%   C = MIN(X,Y)
%   [M,I] = MIN(X)
%   [M,I] = MIN(X,[],DIM)
%   [M,I] = MIN(X,[],...,'linear')
%   MIN(...,'omitnan')
%   MIN(...,'includenan')
%   MIN(...,'ComparisonMethod',METHOD)
%   
%   Limitations:
%   Index output is not supported for codistributed tabular inputs.
%   
%   Example:
%   spmd
%       N = 1000;
%       D = codistributed(magic(N))
%       m = min(D)
%       m1 = min(D,[],1)
%       m2 = min(D,[],2,'omitnan')
%   end
%   
%   m and m1 are both codistributed row vectors, m2 is a codistributed column 
%   vector.
%   
%   See also MIN, CODISTRIBUTED, MAGIC.
%   


%   Copyright 2006-2023 The MathWorks, Inc.

[varargout{1:nargout}] = minmaxOp(@min,varargin{:});
