You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This method should only be calling vec when order::Int. When order::AbstractMatrix then we should be squeezing the first dimension instead of all dimensions. splitting that method in two should make the fix easy.
We shouldn't accept things like itp(1.0, [0 1]). The specification for the order argument should be either an integer for evaluating all dimensions at the same order of derivative or a matrix that has N columns -- where N is the dimensionality of the basis. Having a 1d basis and passing a 2 column order should be an error
Spline derivatives look accurate when we only ask for the derivative. There is something funky going on when we ask for more than one thing at a time. We need to debug this... I'd start by making sure the two basis matrices
The first print command should give the level and first derivative of the two functions
The second print command should compute df(x)/dy and should fail because there isn't a second dimension to take a derivative with respect to.
The third print command reacts as expected.
The text was updated successfully, but these errors were encountered: