Method

NumCosmoMathFitnumdiff_m2lnL_lndet_covar

Declaration [src]

gdouble
ncm_fit_numdiff_m2lnL_lndet_covar (
  NcmFit* fit
)

Description [src]

Calculates the logarithm of the determinant of the covariance matrix using the inverse of the Hessian matrix $\partial_i\partial_j -\ln(L)$, where the derivatives are taken with respect to the free parameters.

It sets the covariance matrix in the NcmFitState object associated to the fit object.

Return value

Type: gdouble

The logarithm of the determinant of the covariance matrix.