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


%   Copyright 2006-2020 The MathWorks, Inc.

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