function Y = realsqrt(X)
%REALSQRT Real square root of codistributed array
%   Y = REALSQRT(X)
%   
%   Example:
%   spmd
%       N = 1000;
%       D = -4*codistributed.ones(N)
%       try realsqrt(D), catch, disp('negative input!'), end
%       E = realsqrt(-D)
%   end
%   
%   See also REALSQRT, CODISTRIBUTED.


%   Copyright 2006-2020 The MathWorks, Inc.

Y = codistributed.pElementwiseUnaryOpWithCatch(@realsqrt, X);
