function I = uint16(X)
%UINT16 Convert codistributed array to unsigned 16-bit integer
%   I = UINT16(X)
%   
%   Example:
%   spmd
%       N = 1000;
%       Di = codistributed.ones(N,'int16');
%       Du = uint16(Di)
%       classDi = underlyingType(Di)
%       classDu = underlyingType(Du)
%   end
%   
%   converts the N-by-N int16 codistributed array Di to the
%   uint16 codistributed array Du.
%   classDi is 'int16' while classDu is 'uint16'.
%   
%   See also UINT16, CODISTRIBUTED, CODISTRIBUTED/ONES.


%   Copyright 2006-2020 The MathWorks, Inc.

I = codistributed.pElementwiseUnaryOp(@uint16,X);
