%MAX Largest component of gpuArray
%   M = MAX(X)
%   C = MAX(X,Y)
%   [M,I] = MAX(X)
%   [M,I] = MAX(X,[],DIM)
%   [M,I] = MAX(X,[],...,'linear')
%   MAX(...,'omitnan')
%   MAX(...,'includenan')
%   
%   Example:
%    
%       N = 1000;
%       D = gpuArray(magic(N))
%       m = max(D)
%       m1 = max(D,[],1)
%       m2 = max(D,[],2,'omitnan')
%   
%   m and m1 are both gpuArray row vectors, m2 is a gpuArray column 
%   vector.
%   
%   See also MAX, GPUARRAY, MAGIC.
%   


%   Copyright 2006-2019 The MathWorks, Inc.
