Method
NumCosmoMathSplineVeceval
Declaration [src]
void
ncm_spline_vec_eval (
NcmSplineVec* sv,
const gdouble x,
NcmVector* res
)
Description [src]
Evaluates the vector function at x. The key optimization is that a single
binary search is performed via ncm_spline_get_index(), then all components
are evaluated using ncm_spline_eval_idx().
The vector res must have length equal to the number of components.
Parameters
x-
Type:
const gdoubleX-coordinate.
res-
Type:
NcmVectorA
NcmVectorto store the result.The data is owned by the caller of the method.