AngouriMath

Navigation

← Back to list of members

ArctanPlusArccotan​(AngouriMath.​Entity)

 Method (no overloads)

Summary

arctan(x) + arccotan(x), which is pi/2 where x is a non-negative
real and -pi/2 where it is negative, or null where the sign
cannot be read.

Remarks

It follows from the range above: for positive x both terms are positive and sum
to pi/2, and for negative x both are negative. pi/2 * sgn(x) is
the closed form and is wrong at exactly one point — x = 0, where the sum is
pi/2 while sgn is 0 — so the sign is decided here rather than
written into the answer. A symbolic argument has no decidable sign and is left alone.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online