Method

NumCosmoMathFitset_logger

Declaration [src]

void
ncm_fit_set_logger (
  NcmFit* fit,
  NcmFitWriter writer,
  NcmFitUpdater updater,
  NcmFitUpdateChange start_update,
  NcmFitUpdateChange end_update
)

Description [src]

Sets the logger functions. The writer function is called to write the messages to the log. The updater function is called to update the parameters. The start_update is called before the minimization starts and the end_update is called after the minimization ends.

Parameters

writer

Type: NcmFitWriter

A NcmFitWriter.

updater

Type: NcmFitUpdater

A NcmFitUpdater.

start_update

Type: NcmFitUpdateChange

A NcmFitUpdateChange.

The argument can be NULL.
end_update

Type: NcmFitUpdateChange

A NcmFitUpdateChange.

The argument can be NULL.