| Top |
Functions
| NcmFitState * | ncm_fit_state_new () |
| NcmFitState * | ncm_fit_state_ref () |
| void | ncm_fit_state_free () |
| void | ncm_fit_state_clear () |
| void | ncm_fit_state_set_all () |
| void | ncm_fit_state_reset () |
| void | ncm_fit_state_realloc () |
| void | ncm_fit_state_set_ls () |
| void | ncm_fit_state_set_niter () |
| guint | ncm_fit_state_get_niter () |
| void | ncm_fit_state_set_m2lnL_prec () |
| gdouble | ncm_fit_state_get_m2lnL_prec () |
| void | ncm_fit_state_set_params_prec () |
| gdouble | ncm_fit_state_get_params_prec () |
| guint | ncm_fit_state_get_data_len () |
Properties
| guint | data-len | Read / Write / Construct |
| int | dof | Read / Write / Construct |
| guint | fparam-len | Read / Write / Construct |
| guint | func-eval | Read |
| guint | grad-eval | Read |
| gboolean | is-best-fit | Read |
| gboolean | is-least-squares | Read / Write / Construct |
| guint | niters | Read |
Functions
ncm_fit_state_new ()
NcmFitState * ncm_fit_state_new (guint data_len,guint fparam_len,gint dof,gboolean is_least_squares);
Instantiates a new NcmFitState.
ncm_fit_state_ref ()
NcmFitState *
ncm_fit_state_ref (NcmFitState *fstate);
Increases the reference count of fstate
by one.
ncm_fit_state_free ()
void
ncm_fit_state_free (NcmFitState *fstate);
Decreases the reference count of fstate
by one.
ncm_fit_state_clear ()
void
ncm_fit_state_clear (NcmFitState **fstate);
Decreases the reference count of *fstate
by one, and sets the pointer *fstate
to NULL.
ncm_fit_state_set_all ()
void ncm_fit_state_set_all (NcmFitState *fstate,guint data_len,guint fparam_len,gint dof,gboolean is_least_squares);
Sets all the properties of fstate
.
ncm_fit_state_reset ()
void
ncm_fit_state_reset (NcmFitState *fstate);
Resets the NcmFitState to its initial state.
ncm_fit_state_realloc ()
void
ncm_fit_state_realloc (NcmFitState *fstate);
Reallocates the NcmFitState to its current state.
ncm_fit_state_set_ls ()
void ncm_fit_state_set_ls (NcmFitState *fstate,NcmVector *f,NcmMatrix *J);
FIXME
ncm_fit_state_set_m2lnL_prec ()
void ncm_fit_state_set_m2lnL_prec (NcmFitState *fstate,gdouble prec);
FIXME
ncm_fit_state_set_params_prec ()
void ncm_fit_state_set_params_prec (NcmFitState *fstate,gdouble prec);
FIXME
Property Details
The “data-len” property
“data-len” guint
Data length.
Owner: NcmFitState
Flags: Read / Write / Construct
Default value: 0
The “dof” property
“dof” int
Degrees of freedom.
Owner: NcmFitState
Flags: Read / Write / Construct
Default value: 0
The “fparam-len” property
“fparam-len” guint
Free parameters length.
Owner: NcmFitState
Flags: Read / Write / Construct
Default value: 0
The “func-eval” property
“func-eval” guint
Number of function evaluations.
Owner: NcmFitState
Flags: Read
Default value: 0
The “grad-eval” property
“grad-eval” guint
Number of gradient evaluations.
Owner: NcmFitState
Flags: Read
Default value: 0
The “is-best-fit” property
“is-best-fit” gboolean
Is a best fit state.
Owner: NcmFitState
Flags: Read
Default value: FALSE
The “is-least-squares” property
“is-least-squares” gboolean
Is a least squares fit state.
Owner: NcmFitState
Flags: Read / Write / Construct
Default value: FALSE
The “niters” property
“niters” guint
Number of interations.
Owner: NcmFitState
Flags: Read
Default value: 0