Open sjunwl opened 2 years ago
The PPolynomial class is a (templated) class used to represent a function that is described as a piecwise-polynomial (where each polynomial is of degree no more than Degree). It is used to represent B-splines.
Hi,professor. thank you for you reply. But I'm still confused about the function "Polynomial< Degree >::BSplineComponent( int i )". I had transform the code into a formula, as the picture follow. But I'm not sure is that right. If wrong, could you please give me a formula correspondding to the code.
That seems right, only I fix k=0, I assume that uk=k, and what you call B{k,1} I would call B_{k,0} since it is a constant function (i.e. a zero-th order polynomial).
Also, under the assumption that uk=k, it should be the case that B{k,d} is the translational shift of B_{0,d}, so fixing k=0 should be sufficient.
hi professor , when i review the PPolynomial code, i cannot understand two following functions: 1、 PPolynomial::MovingAverage( double radius ) const
2、Polynomial< Degree >::BSplineComponent( int i )
I am very confused,and Is there any recommended theoretical material about them? thanks verymuch.