Method

NumCosmoMathMSetparam_set0

Declaration [src]

void
ncm_mset_param_set0 (
  NcmMSet* mset,
  NcmModelID mid,
  guint pid,
  const gdouble x
)

Description [src]

Sets the value of the parameter pid in the model mid to x. This function does not update the model parameters. It is useful when the parameters are being updated in a loop and the model parameters are updated only once, after the loop.

Parameters

mid

Type: NcmModelID

Model id.

pid

Type: guint

Parameter id.

x

Type: const gdouble

The value to set.