jipolanco / BSplineKit.jl

A collection of B-spline tools in Julia
https://jipolanco.github.io/BSplineKit.jl/dev/
MIT License
50 stars 9 forks source link

Periodic bases: require endpoint in knots #50

Closed jipolanco closed 1 year ago

jipolanco commented 1 year ago

This PR changes the constructor of PeriodicBSplineBasis so that the period L is no longer required. Instead, the given knot vector must include the endpoint, which allows to determine L.

The old constructor still works but now shows a deprecation warning.