monte_carlo

monte_carlo —

Synopsis

int                 gretl_compiling_loop                (void);
int                 gretl_execute_loop                  (void);
int                 ok_in_loop                          (int ci);
int                 gretl_loop_append_line              (ExecState *s,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo);
int                 gretl_loop_exec                     (ExecState *s,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo);
int                 model_is_in_loop                    (const MODEL *pmod);

Description

Details

gretl_compiling_loop ()

int                 gretl_compiling_loop                (void);

Returns :

gretl_execute_loop ()

int                 gretl_execute_loop                  (void);

Returns :

ok_in_loop ()

int                 ok_in_loop                          (int ci);

ci : command index.
Returns : 1 if the given command is acceptable inside the loop construct, 0 otherwise.

gretl_loop_append_line ()

int                 gretl_loop_append_line              (ExecState *s,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo);

Add command line to accumulated loop buffer. This may be called "starting from cold", in which case the "line" member of s will have been parsed and any options extracted to s->cmd->opt. But it may also be called in the process of ongoing loop compilation, and in that case option flags will not have been processed already.

s : program execution state.
pZ : pointer to data matrix.
pdinfo : dataset information.
Returns : 0 on success, non-zero code on error.

gretl_loop_exec ()

int                 gretl_loop_exec                     (ExecState *s,
                                                         double ***pZ,
                                                         DATAINFO *pdinfo);

s :
pZ :
pdinfo :
Returns :

model_is_in_loop ()

int                 model_is_in_loop                    (const MODEL *pmod);

pmod :
Returns :