Skip to content

Maybe unexpected number of columns for bernsteinPoly(.., deriv = 1)? #12

Answered by wenjie2wang
hhau asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hhau

Thanks for the detailed question.

I expect this is a misunderstanding on my part (or an incorrect formula in the paper?), but how many terms/columns should the derivative of a BP have?

The derivatives of the Bernstein polynomial basis functions have a one-to-one correspondence to the original basis functions: the first derivative of the jth basis function (given in the jth column of the basis matrix) is given in the jth column of the output matrix when derivs = 1. Therefore, the number of basis functions should be the same regardless of the order of derivatives.

The appeal of the expression in the aforementioned paper is that the expressions for the 0th/1st/2nd derivative are …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by wenjie2wang
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hhau
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #11 on September 30, 2021 15:31.