patrick-kidger / torchcubicspline

Interpolating natural cubic splines. Includes batching, GPU support, support for missing values, evaluating derivatives of the spline, and backpropagation.
Apache License 2.0
198 stars 18 forks source link

clamped cubic spline supported? #13

Open zhuqunxi opened 2 years ago

zhuqunxi commented 2 years ago

Hello,

Thanks for this very useful package. I have a question, Does this package support the clamped cubic spline, i.e., s'(t_0)=a, s'(t_T)=b?

Qunxi

patrick-kidger commented 2 years ago

Nope, just natural cubic splines.

zhuqunxi commented 2 years ago

Nope, just natural cubic splines.

Thanks. Would you update this package to support clamped cubic spline later?

patrick-kidger commented 2 years ago

I'm afraid not -- this package is only lightly maintained so realistically I'm not going to be adding new features. I'd suggest developing your own package if this is something you're interested in.

zhuqunxi commented 2 years ago

I'm afraid not -- this package is only lightly maintained so realistically I'm not going to be adding new features. I'd suggest developing your own package if this is something you're interested in.

Okay. Thanks for your kind reply. I'll try it.