Method
NumCosmoMathSplineeval_deriv_idx
Declaration [src]
gdouble
ncm_spline_eval_deriv_idx (
const NcmSpline* s,
const gdouble x,
const gsize i
)
Description [src]
Evaluates the derivative of the spline at x using the provided index i.
This function is useful when multiple splines share the same x vector and
the index is already known, avoiding redundant binary searches.
The index i should correspond to the interval containing x, i.e.,
x[i] <= x < x[i+1].