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

Left right iterator #9

Merged
merged 17 commits into from
Jan 10, 2024
Merged

Left right iterator #9

merged 17 commits into from
Jan 10, 2024

Conversation

nluetts
Copy link
Owner

@nluetts nluetts commented Jan 10, 2024

Perform integration based on an iterator that is initialized with a curve object and two bounds:

for (xi, yi) in (curve, left_bound, right_bound)
    ... # do something with data points
end

The key is that data points at the left and right boundaries will be interpolated linearly if they happen to fall
between the x-values (just like it was previously done in the trapz function).

This PR also fixes tests and deprecation warnings and prepares for a version 1.0.
Tested Julia version is now 1.10.

@nluetts nluetts merged commit ffcf851 into master Jan 10, 2024
1 of 2 checks passed
@nluetts
Copy link
Owner Author

nluetts commented Jan 10, 2024

still needs fixing the doctests ...

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

Successfully merging this pull request may close these issues.

1 participant