Constructor

NumCosmoMathFitStatenew

Declaration [src]

NcmFitState*
ncm_fit_state_new (
  guint data_len,
  guint fparam_len,
  gint dof,
  gboolean is_least_squares
)

Description [src]

Instantiates a new NcmFitState.

Parameters

data_len

Type: guint

Data length.

fparam_len

Type: guint

Free parameters length.

dof

Type: gint

Degrees of freedom.

is_least_squares

Type: gboolean

Whether it is a least squares fit.

Return value

Type: NcmFitState

A newly allocated NcmFitState.

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