monotonic spline interpolations in Darktable

No. You can conceptualize a cubic B-spline as

  1. values and derivatives at nodes (+ end conditions), which can be
  2. mapped to polynomials.

The interpolations I am considering adjust the derivatives, inserting a step between 1. and 2.

(There are other schemes, eg Schumacher, that insert extra nodes to maintain monotonicity; I am not considering these).

Maybe just steal the code for curves from RT/ART?

I moved one node up and got these results:

ART curve:

DT curve:

stealing the curve is just possible if the underlying math dealing with color information is the same.
There hasn’t been a convincing solution to deal with the curve in a different way than it’s done by darktable yet - if it would’ve been that simple, I’m pretty sure we had already seen a RFC pull request …