Method
NumCosmoMathFunctionSampleSetadd_old
Declaration [src]
void
ncm_function_sample_set_add_old (
NcmFunctionSampleSet* fss,
const gdouble x,
NcmVector* y
)
Description [src]
Adds a new sample point to fss with position x and vector value y, marked as OLD.
This function is useful for boundary extensions where the added point should be
considered part of the base spline rather than a refinement target. The sample is
inserted in the correct position to maintain ascending x-order. The vector y is
copied and must have dimension matching the fss:len property. The interval_ok flag
for the new sample is initialized to 0. The sample is marked as an old point
(new_point = FALSE).
Parameters
x-
Type:
const gdoubleKnot position.
y-
Type:
NcmVectorVector value at
x.The data is owned by the caller of the method.