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

ENH: interpolate: allow string aliases in make_interp_spline BC #8540

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Mar 9, 2018

Make bc_type="natural" equivalent to bc_type=([2, 0.], [2, 0.]) etc

equivalent to ``bc_type=((1, 0.0), (1, 0.0))``.
* ``"natural"``: The second derivatives at ends are zero. This is
equivalent to ``bc_type=((2, 0.0), (2, 0.0))``.
* ``"not-a-know"`` (default): The first and second segments are the same
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"not-a-knot" I imagine.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly. Fixed and force-pushed. Thanks!

Make `bc_type="natural"` equivalent to `bc_type=([2, 0.], [2, 0.])` etc
@pv pv merged commit 6e4c3a8 into scipy:master Apr 2, 2018
@pv pv added this to the 1.1.0 milestone Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants