-
Notifications
You must be signed in to change notification settings - Fork 427
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
question about BSplineElements #276
Comments
For degree 2, the B-spline is composed of three quadratic components which (up to shift) are The case of k=0 is a bit more tricky since you have specified that you want Neumann boundary conditions. |
thank you very much |
hi professor,I could not understand the class BSplineElements, and what is the function of the class BSplineElements?
1、suppose; Degree =2 and res =8 = 1<<3 ; I get BSplineElements b1(res, k, 1, 0);[k indexes the center of the B-spline]
2、when k =0 ;then b1 is 7 Triples : { {0,1,1}; {0,0,1};{0,0,0}; {0,0,0};{0,0,0};{0,0,0};{0,0,0};}
does the b1 on interval [0,1] is 1*(-x^2 + x + 1/2) + 1*(1/2 x^2 - x + 1/2) , and on interval[1,2] is 1*(1/2 x^2 - x + 1/2) and 0 on the other intervals? and if I am right , why ?
3、 when k =1; then b1 is 7 thriples:{ {1,0,0}; {0,1,0};{0,0,1}; {0,0,0};{0,0,0};{0,0,0};{0,0,0};}
does the b1 on interval [0,1] is 1*(1/2 x^2) , and on interval[1,2] is 1*(-x^2 + x + 1/2) and on interval [2,3] is 1*(1/2 x^2 - x + 1/2) and 0 on the other intervals? and if I am right , why ?
The text was updated successfully, but these errors were encountered: