Constructor

NumCosmoMathFitLevmarnew

Declaration [src]

NcmFit*
ncm_fit_levmar_new (
  NcmLikelihood* lh,
  NcmMSet* mset,
  NcmFitGradType gtype,
  NcmFitLevmarAlgos algo
)

Description [src]

Creates a new NcmFitLevmar 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: NcmFitLevmarAlgos

A NcmFitLevmarAlgos.

Return value

Type: NcmFit

A NcmFitLevmar.

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