Method

NumCosmoMathMSetFunceval_nvar

Declaration [src]

gdouble
ncm_mset_func_eval_nvar (
  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 arguments.

The data is owned by the caller of the method.

Return value

Type: gdouble

Function value.