Constructor

NumCosmoMathFitGSLMMSnew

Declaration [src]

NcmFit*
ncm_fit_gsl_mms_new (
  NcmLikelihood* lh,
  NcmMSet* mset,
  NcmFitGradType gtype,
  NcmFitGSLMMSAlgos algo
)

Description [src]

Creates a new NcmFitGSLMMS object from the given likelihood, model set, gradient type and algorithm.

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.

algo

Type: NcmFitGSLMMSAlgos

A NcmFitGSLMMSAlgos.

Return value

Type: NcmFit

A new NcmFitGSLMMS object.

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