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

domain checking #9

Open
tpapp opened this issue Feb 27, 2020 · 1 comment
Open

domain checking #9

tpapp opened this issue Feb 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@tpapp
Copy link
Owner

tpapp commented Feb 27, 2020

Evaluation of basis functions and linear combinations should support various forms of domain checking, eg

  1. no checking (as currently done), this will just error because of acos for Chebyshev
  2. strict checking (terminate with an informative DomainError
  3. "soft" extrapolation: when within a small distance of boundaries, just use the boundary value (mostly for dealing with floating point error)

Cf #7, a refactor should implement both.

@tpapp tpapp added the enhancement New feature or request label Feb 27, 2020
@tpapp
Copy link
Owner Author

tpapp commented Jun 8, 2022

We no longer use acos internally, so this is less of an issue. With arguments near the boundary, the error is nicely bounded, so it should not matter. Perhaps document this though.

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

1 participant