jipolanco / BSplineKit.jl

A collection of B-spline tools in Julia
https://jipolanco.github.io/BSplineKit.jl/dev/
MIT License
51 stars 9 forks source link

Improve conditioning of "natural" system matrix #73

Closed jipolanco closed 1 year ago

jipolanco commented 1 year ago

When constructing a recombined basis obeying natural boundary conditions, we now normalise the computed derivatives of B-splines at the boundaries so that the resulting linear systems (needed to obtain recombination coefficients) are better conditioned. The improvements are most important when using splines of high order.

Closes #71.

codecov-commenter commented 1 year ago

Codecov Report

Merging #73 (c519fbf) into master (b2734a3) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #73   +/-   ##
=======================================
  Coverage   95.38%   95.38%           
=======================================
  Files          35       35           
  Lines        2187     2190    +3     
=======================================
+ Hits         2086     2089    +3     
  Misses        101      101           
Impacted Files Coverage Δ
src/BSplineKit.jl 100.00% <ø> (ø)
src/Splines/spline.jl 94.81% <ø> (ø)
src/Recombinations/natural.jl 97.59% <100.00%> (+0.18%) :arrow_up:

... and 3 files with indirect coverage changes