Method
NumCosmoMathFunctionSampleSetadd
Declaration [src]
void
ncm_function_sample_set_add (
NcmFunctionSampleSet* fss,
const gdouble x,
NcmVector* y
)
Description [src]
Adds a new sample point to fss with position x and vector value y. 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 a new point.
Parameters
x-
Type:
const gdoubleKnot position.
y-
Type:
NcmVectorVector value at
x.The data is owned by the caller of the method.