-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
- Simplify tests. Currently, running the tests takes a lot of time. We probably don’t need all of them. (Simplify tests #3)
- Allow knot vectors where the first and last breakpoints are repeated less than
ktimes. ([WIP] Allow more general knot sequences #5)- Add a new constructor with mandatory keyword argument:
BSplineBasis(k, knots=...)for supplying the knot sequence directly.BSplineBasis(k, breakpoints=...)which creates the knot vector from the breakpoints by repeating the first and last breakpointktimes, equivalent to the old constructor without keyword argument.
- Indexing a
BSplineBasiswith anAbstractUnitRangecreates a newBSplineBasiswith an appropriate knot vector.view(::BSplineBasis, ::AbstractUnitRange)creates an equivalentBSplineBasiswhose knot vector is a view. Theindiceskeyword argument can then be removed. - Since the
BSplineBasisis changed to contain the knot vector instead of the breakpoints,breakpoints(basis)is changed to returnunique(knots(basis)). Alternatively, thebreakpointsfunction can be removed completely, since the user can just callunique(knots(basis))themself.
- Add a new constructor with mandatory keyword argument:
- Add a
StaticBSplineBasis{K, T}type where the orderKis a type parameter for potentially better performance.- Specialized implementations for small
Kare possible. - Add
AbstractBSplineBasis{T}as supertype forBSplineBasis{T}andStaticBSplineBasis{K, T}.
- Specialized implementations for small
Metadata
Metadata
Assignees
Labels
No labels