Package: bspline 2.4.0

Serguei Sokol

bspline: B-Spline Interpolation and Regression

Build and use B-splines for interpolation and regression. In case of regression, equality constraints as well as monotonicity and/or positivity of B-spline weights can be imposed. Moreover, knot positions can be on regular grid or be part of optimized parameters too (in addition to the spline weights). For this end, 'bspline' is able to calculate Jacobian of basis vectors as function of knot positions. User is provided with functions calculating spline values at arbitrary points. These functions can be differentiated and integrated to obtain B-splines calculating derivatives/integrals at any point. B-splines of this package can simultaneously operate on a series of curves sharing the same set of knots. 'bspline' is written with concern about computing performance that's why the basis and Jacobian calculation is implemented in C++. The rest is implemented in R but without notable impact on computing speed.

Authors:Serguei Sokol [aut, cre]

bspline_2.4.0.tar.gz
bspline_2.4.0.tar.gz(r-4.5-noble)bspline_2.4.0.tar.gz(r-4.4-noble)
bspline_2.4.0.tgz(r-4.4-emscripten)bspline_2.4.0.tgz(r-4.3-emscripten)
bspline.pdf |bspline.html
bspline/json (API)
NEWS

# Install 'bspline' in R:
install.packages('bspline', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mathscell/bspline/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

openblascpp

1.48 score 514 downloads 17 exports 5 dependencies

Last updated 10 hours agofrom:e2e288f62b. Checks:3 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 12 2025
R-4.5-linux-x86_64OKMar 12 2025
R-4.4-linux-x86_64OKMar 12 2025

Exports:bcurvebscbspbsppardbspdiffndmatfitsmbspibspiknotsimatipkjacwpar2bspparrpbscsmbsp

Dependencies:arrApplynlsicnnlsRcppRcppArmadillo