Skip to content
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

Implement trigonometric functions #2

Open
folivetti opened this issue Feb 25, 2020 · 2 comments
Open

Implement trigonometric functions #2

folivetti opened this issue Feb 25, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@folivetti
Copy link

Example

x2 = do a <- newFromInterval (-1 ... -0.1)
             return.interval $ cos a
evalAFM x2
@Soupstraw
Copy link
Owner

Some of the functions have not yet been implemented fully, only in some specific cases.
The issue with cosine is that it can be both concave and convex in the region, so it's not trivial to use min-range approximation in those cases.
I won't be able to work on it for about a month, but it will need to be implemented at some point.

@Soupstraw Soupstraw changed the title cosine calling undefined when the resulting interval isn't the extreme values Implement trigonometric functions Feb 27, 2020
@Soupstraw Soupstraw added the enhancement New feature or request label Feb 27, 2020
@folivetti
Copy link
Author

maybe you can check this library to see how they dealt with it

https://github.com/ogay/libaffa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants