Method

NumCosmoMathMSetFunceval0

Declaration [src]

gdouble
ncm_mset_func_eval0 (
  NcmMSetFunc* func,
  NcmMSet* mset
)

Description [src]

Evaluate the function func and return the result. This function is only valid if func is a scalar function. The function’s arguments are either none, if the function is constant, or the arguments passed to ncm_mset_func_set_eval_x().

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.

Return value

Type: gdouble

Function value.