-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @monotone
to declare monotone interval functions
#198
Comments
There would need to be two: one with outward rounding (e.g. for |
The idea would be that |
The only thing I would be worried is how to react when Another issue is how to extend it to |
I guess with |
I actually meant to define the function in the first place. Maybe it's not necessary to have a macro, just generate the code. I agree that for decorated intervals with |
Closing this as it's not clear what to actually do. |
As I needed interval extension of both the zeta Riemann function (monotone for real argument greater than 1) and the polylogarithm (which is monotone in each of its argument), I implemented something very similar to what is proposed. The current implementation can be found here and an example of use here. This implementation is not ready for publication though, as it is mainly untested and over typed. But I am willing to improve it and make it available either by integrating it in To tell more about what it does, it defines a macro polylog(s::Interval, z)
polylog(s, z::Interval)
polylog(s::Interval, z::Interval) For each argument a domain must be given and the monotonicity of the function is determined automatically by computing the value of the function on the boundary of the domain. Optionnal arguments are:
|
This could be used both in the package and in user code.
cf. #191
The text was updated successfully, but these errors were encountered: