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

expandspace_I should throw an error #358

Closed
hyrodium opened this issue Dec 17, 2023 · 0 comments · Fixed by #359
Closed

expandspace_I should throw an error #358

hyrodium opened this issue Dec 17, 2023 · 0 comments · Fixed by #359

Comments

@hyrodium
Copy link
Owner

julia> using BasicBSpline

julia> p1 = 3
3

julia> k1 = KnotVector(1:8)
KnotVector([1, 2, 3, 4, 5, 6, 7, 8])

julia> P1 = BSplineSpace{p1}(k1)
BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([1, 2, 3, 4, 5, 6, 7, 8]))

julia> P1′ = expandspace_I(P1, KnotVector([9,19]))
BSplineSpace{3, Int64, KnotVector{Int64}}(KnotVector([1, 2, 3, 4, 5, 6, 7, 8, 9, 19]))

julia> domain(P1)
4 .. 5

julia> domain(P1′)
4 .. 7

julia> P1  P1′
false
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 a pull request may close this issue.

1 participant