monte_carlo

monte_carlo

Functions

Types and Values

typedef LOOPSET

Description

Functions

gretl_compiling_loop ()

int
gretl_compiling_loop (void);

gretl_execute_loop ()

int
gretl_execute_loop (void);

ok_in_loop ()

int
ok_in_loop (int ci);

Parameters

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,
                        DATASET *dset);

Add the command line s->line to accumulated loop buffer.

Parameters

s

program execution state.

 

dset

dataset struct.

 

Returns

0 on success, non-zero code on error.


gretl_loop_exec ()

int
gretl_loop_exec (ExecState *s,
                 DATASET *dset,
                 LOOPSET *loop);

gretl_loop_destroy ()

void
gretl_loop_destroy (LOOPSET *loop);

model_is_in_loop ()

int
model_is_in_loop (const MODEL *pmod);

scalar_is_read_only_index ()

int
scalar_is_read_only_index (const char *name);

loop_reset_genrs ()

void
loop_reset_genrs (LOOPSET *loop);

get_loop_renaming ()

int
get_loop_renaming (void);

Types and Values

LOOPSET

typedef struct LOOPSET_ LOOPSET;