function Z = realpow(X,Y)
%REALPOW Real power of codistributed array
%   Z = REALPOW(X,Y)
%   
%   Example:
%   spmd
%       N = 1000;
%       D = -8*codistributed.ones(N)
%       try realpow(D,1/3), catch, disp('complex output!'), end
%       E = realpow(-D,1/3)
%   end
%   
%   See also REALPOW, CODISTRIBUTED.


%   Copyright 2006-2020 The MathWorks, Inc.

Z = codistributed.pElementwiseOp(@realpow, X, Y);
