Method

NumCosmoMathMSetFunceval1

Declaration [src]

gdouble
ncm_mset_func_eval1 (
  NcmMSetFunc* func,
  NcmMSet* mset,
  const gdouble x
)

Description [src]

Evaluate the function func at x and return the result. This function is only valid if func is a scalar function.

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.
x

Type: const gdouble

Function argument.

Return value

Type: gdouble

Function value.