function Y = cospi(X)
%COSPI  Compute cos(X*pi) accurately.
%   Y = COSPI(X)
%   
%   See also COSPI, CODISTRIBUTED.
%   


%   Copyright 2018-2020 The MathWorks, Inc.

Y = codistributed.pElementwiseUnaryOp(@cospi, X);
