wenjie2wang / splines2

Regression Spline Functions and Classes
https://wwenjie.org/splines2
GNU General Public License v3.0
42 stars 3 forks source link

Are there plans to add support for multivariate basis functions? #15

Closed mihaiconstantin closed 1 year ago

mihaiconstantin commented 2 years ago

Thank you for this great piece of work! I've been extensively using your package and cited your work in a paper we recently submitted.

This is not an issue per se, more like I am wondering if you considered adding support for multivariate basis functions (e.g., tensor-product B-splines)? Would this be hard to incorporate into splines2?

wenjie2wang commented 2 years ago

Thank you for this great piece of work! I've been extensively using your package and cited your work in a paper we recently submitted.

Thanks! So glad to hear that splines2 helps your research.

This is not an issue per se, more like I am wondering if you considered adding support for multivariate basis functions (e.g., tensor-product B-splines)? Would this be hard to incorporate into splines2?

Yes, I thought about this. Given the univariate basis functions, it would not be hard to construct the tensor products (and their partial derivatives). I will give more thoughts about this feature if I find an interesting application.

mihaiconstantin commented 2 years ago

It is great to hear this could at one point be added to splines2! I will keep an eye on it in the future.