Method

NumCosmoMathFitm2lnL_val_grad

Declaration [src]

void
ncm_fit_m2lnL_val_grad (
  NcmFit* fit,
  gdouble* result,
  NcmVector* df
)

Description [src]

Computes the minus two times the logarithm base e of the likelihood and its gradient.

Parameters

result

Type: gdouble*

The minus two times the logarithm base e of the likelihood.

The argument will be set by the function.
df

Type: NcmVector

A NcmVector.

The data is owned by the caller of the method.