gusucode.com > symbolic工具箱matlab源码程序 > symbolic/@sym/cosint.m

    function Z = cosint(X)
%COSINT Cosine integral function.
%  COSINT(x) = eulergamma + log(x) + int((cos(t)-1)/t,t,0,x),
%  where eulergamma denotes the Euler-Mascheroni constant. 
%
%   See also SYM/SININT.

%   Copyright 1993-2013 The MathWorks, Inc.

Z = privUnaryOp(X, 'symobj::vectorizeSpecfunc', 'Ci', '-infinity');
end