ElementaryFunctionSign(R, F)¶
limitps.spad line 673 [edit on github]
R: Join(IntegralDomain, Comparable, RetractableTo Integer, LinearlyExplicitOver Integer, GcdDomain)
F: Join(AlgebraicallyClosedField, TranscendentalFunctionCategory, FunctionSpace R)
This package provides functions to determine the sign of an elementary function around a point or infinity.
- sign: (F, Symbol, F, String) -> Union(Integer, failed)
sign(f, x, a, s)returns the sign offasxnearsafrom below ifsis “left”, or above ifsis “right”.
- sign: (F, Symbol, OrderedCompletion F) -> Union(Integer, failed)
sign(f, x, a)returns the sign offasxnearsa, from both sides ifais finite.
- sign: F -> Union(Integer, failed)
sign(f)returns 1 iffis always non-negative; returns-1isfis always non-positive; returns 0 iffis always 0; returns “failed” if the sign offvaries or can'tbe determined.