You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fd8fc71
Browse filesBrowse the repository at this point in the historyBrowse files
The sine and cosine integrals Si(z) = sum (-1)^k z^(2k+1)/((2k+1) (2k+1)!)
and Ci(z) = gamma + ln z + sum_(k>=1) (-1)^k z^(2k)/(2k (2k)!), and the
hyperbolic Shi and Chi, the same sums without the alternating sign, are
nodes, the next of #1501's special functions: parsed, printed in text, LaTeX
and SymPy, differentiated from their definitions, exact at the infinities and
at 0, and evaluated to the working precision anywhere in the complex plane.
Si and Shi are entire. Ci and Chi take the cut of ln z, the negative real
axis, which keeps the value from above: Ci(-x) = Ci(x) + i pi, as SymPy's,
mpmath's and Mathematica's is. Each is summed as its series, carrying the
digits the terms cancel away from the axis it grows along, up to
|z| = (P + 5) ln 10, and past that through the exponential integral's
asymptotic series, by Shi(z) = (Ei(z) - Ei(-z))/2 - i pi/2 sgn(Im z) and its
companions. None of the names was refused, so each was read as a product with
an undeclared variable: Si(1) simplified to the variable Si.
Part of #1501.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments