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
These functions are defined as composites using the inverse (e.g. cot(x::MC)= inv(tan(x))) which results in domain violations on intervals tighter than Interval(0, pi).
The fix here is to add definitions for sec, csc, cot, asec, acsc, acot that aren't defined as composites. Basically, check for domain violations and return nan(x) if this is the case. Otherwise, compute the envelope. This would also require explicit definitions of these functions in IntervalArithmetic.jl since cot(x::Interval) has the same issue.
The text was updated successfully, but these errors were encountered:
These functions are defined as composites using the inverse (e.g.
cot(x::MC)= inv(tan(x))
) which results in domain violations on intervals tighter thanInterval(0, pi)
.The fix here is to add definitions for
sec
,csc
,cot
,asec
,acsc
,acot
that aren't defined as composites. Basically, check for domain violations and returnnan(x)
if this is the case. Otherwise, compute the envelope. This would also require explicit definitions of these functions in IntervalArithmetic.jl sincecot(x::Interval)
has the same issue.The text was updated successfully, but these errors were encountered: