Method
NumCosmoMathSplineacc
Declaration [src]
void
ncm_spline_acc (
NcmSpline* s,
gboolean enable
)
Description [src]
Enables or disables spline accelerator. Note that, if
enabled, the spline becomes non-reentrant. In other words,
if enable is TRUE, the spline evaluation is not thread safe.
Therefore, it should not be called concomitantly by two different threads.
Warning: the accelerator must be reset if the spline’s size changes, otherwise, it can access an out-of-bound index.