Constructor

NumCosmoMathFitGSLMMnew_default

Declaration [src]

NcmFit*
ncm_fit_gsl_mm_new_default (
  NcmLikelihood* lh,
  NcmMSet* mset,
  NcmFitGradType gtype
)

Description [src]

Creates a new NcmFitGSLMM object with the given likelihood, model set and gradient type. The algorithm to be used is the default one (#NCM_FIT_GSL_MM_VECTOR_BFGS2).

Parameters

lh

Type: NcmLikelihood

A NcmLikelihood.

The data is owned by the caller of the function.
mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the function.
gtype

Type: NcmFitGradType

A NcmFitGradType.

Return value

Type: NcmFit

A new NcmFitGSLMM object.

The caller of the function takes ownership of the data, and is responsible for freeing it.