libset

libset —

Synopsis

enum                VECMnorm;
#define             BFGS_MAXITER
#define             BFGS_TOLER
#define             BHHH_MAXITER
#define             BHHH_TOLER
#define             BKBP_K
#define             BOOTREP
#define             FORCE_DECP
#define             FORCE_HC
#define             GARCH_VCV
#define             GARCH_ROBUST_VCV
#define             HAC_KERNEL
#define             HAC_LAG
#define             HALT_ON_ERR
#define             HC_VERSION
#define             HORIZON
#define             HP_LAMBDA
#define             USE_LBFGS
#define             LOOP_MAXITER
#define             RQ_MAXITER
#define             MAX_VERBOSE
#define             NLS_TOLER
#define             PCSE
#define             PREWHITEN
#define             QS_BANDWIDTH
#define             SHELL_OK
#define             USE_CWD
#define             USE_SVD
#define             USE_FCP
#define             VECM_NORM
#define             ARMA_VCV
#define             VERBOSE_INCLUDE
#define             SKIP_MISSING
#define             R_FUNCTIONS
#define             R_LIB
int                 (*ITER_PRINT_FUNC)                  (...,
                                                         PRN *);
int                 (*DEBUG_READLINE)                   (void *);
int                 (*DEBUG_OUTPUT)                     (void *);
#define             set_nls_toler                       (x)
int                 libset_init                         (void);
void                libset_cleanup                      (void);
int                 libset_restore_state_zero           (DATAINFO *pdinfo);
int                 push_program_state                  (void);
int                 pop_program_state                   (void);
int                 libset_get_bool                     (const char *key);
int                 libset_set_bool                     (const char *key,
                                                         int val);
double              libset_get_double                   (const char *key);
int                 libset_set_double                   (const char *key,
                                                         double val);
int                 libset_get_int                      (const char *key);
int                 libset_set_int                      (const char *key,
                                                         int val);
void                set_xsect_hccme                     (const char *s);
void                set_tseries_hccme                   (const char *s);
void                set_panel_hccme                     (const char *s);
void                set_garch_robust_vcv                (const char *s);
int                 get_hac_lag                         (int T);
int                 data_based_hac_bandwidth            (void);
int                 get_bkbp_k                          (const DATAINFO *pdinfo);
void                get_bkbp_periods                    (const DATAINFO *pdinfo,
                                                         int *l,
                                                         int *u);
int                 set_bkbp_k                          (int k);
int                 set_bkbp_periods                    (int bkl,
                                                         int bku);
void                unset_bkbp_k                        (void);
void                unset_bkbp_periods                  (void);
void                set_mp_bits                         (int b);
int                 get_mp_bits                         (void);
const gretl_matrix * get_init_vals                      (void);
int                 n_init_vals                         (void);
void                free_init_vals                      (void);
void                set_loop_on                         (int quiet);
void                set_loop_off                        (void);
int                 gretl_looping                       (void);
int                 gretl_looping_currently             (void);
int                 gretl_looping_quietly               (void);
void                gretl_set_batch_mode                (int b);
int                 gretl_in_batch_mode                 (void);
void                gretl_set_gui_mode                  (int g);
int                 gretl_in_gui_mode                   (void);
void                set_gretl_echo                      (int e);
int                 gretl_echo_on                       (void);
void                set_gretl_messages                  (int e);
int                 gretl_messages_on                   (void);
int                 gretl_warnings_on                   (void);
int                 gretl_debugging_on                  (void);
void                shelldir_init                       (const char *s);
char *              get_shelldir                        (void);
char                get_csv_delim                       (const DATAINFO *pdinfo);
const char *        get_csv_na_string                   (void);
void                set_csv_na_string                   (const char *s);
const char *        get_include_path                    (void);
void                set_include_path                    (const char *s);
int                 execute_set_line                    (const char *line,
                                                         DATAINFO *pdinfo,
                                                         gretlopt opt,
                                                         PRN *prn);
void                set_iter_print_func                 (ITER_PRINT_FUNC func);
int                 iter_print_callback                 (int i,
                                                         PRN *prn);
int                 iter_print_func_installed           (void);
void                set_debug_read_func                 (DEBUG_READLINE dfunc);
DEBUG_READLINE      get_debug_read_func                 (void);
void                set_debug_output_func               (DEBUG_OUTPUT dout);
DEBUG_OUTPUT        get_debug_output_func               (void);
void                set_workdir_callback                (int (callback) ());
void                set_script_switch                   (int s);
int                 get_script_switch                   (void);
int                 libset_write_script                 (const char *fname);
int                 libset_read_script                  (const char *fname);

Description

Details

enum VECMnorm

typedef enum {
    NORM_PHILLIPS,
    NORM_DIAG,
    NORM_FIRST,
    NORM_NONE,
    NORM_MAX
} VECMnorm;


BFGS_MAXITER

#define BFGS_MAXITER     "bfgs_maxiter"


BFGS_TOLER

#define BFGS_TOLER       "bfgs_toler"


BHHH_MAXITER

#define BHHH_MAXITER     "bhhh_maxiter"


BHHH_TOLER

#define BHHH_TOLER       "bhhh_toler"


BKBP_K

#define BKBP_K           "bkbp_k"


BOOTREP

#define BOOTREP          "bootrep"


FORCE_DECP

#define FORCE_DECP       "force_decpoint"


FORCE_HC

#define FORCE_HC         "force_hc"


GARCH_VCV

#define GARCH_VCV        "garch_vcv"


GARCH_ROBUST_VCV

#define GARCH_ROBUST_VCV "garch_robust_vcv"


HAC_KERNEL

#define HAC_KERNEL       "hac_kernel"


HAC_LAG

#define HAC_LAG          "hac_lag"


HALT_ON_ERR

#define HALT_ON_ERR      "halt_on_error"


HC_VERSION

#define HC_VERSION       "hc_version"


HORIZON

#define HORIZON          "horizon"


HP_LAMBDA

#define HP_LAMBDA        "hp_lambda"


USE_LBFGS

#define USE_LBFGS        "lbfgs"


LOOP_MAXITER

#define LOOP_MAXITER     "loop_maxiter"


RQ_MAXITER

#define RQ_MAXITER       "rq_maxiter"


MAX_VERBOSE

#define MAX_VERBOSE      "max_verbose"


NLS_TOLER

#define NLS_TOLER        "nls_toler"


PCSE

#define PCSE             "pcse"


PREWHITEN

#define PREWHITEN        "hac_prewhiten"


QS_BANDWIDTH

#define QS_BANDWIDTH     "qs_bandwidth"


SHELL_OK

#define SHELL_OK         "shell_ok"


USE_CWD

#define USE_CWD          "use_cwd"


USE_SVD

#define USE_SVD          "svd"


USE_FCP

#define USE_FCP          "fcp"


VECM_NORM

#define VECM_NORM        "vecm_norm"


ARMA_VCV

#define ARMA_VCV         "arma_vcv"


VERBOSE_INCLUDE

#define VERBOSE_INCLUDE  "verbose_include"


SKIP_MISSING

#define SKIP_MISSING     "skip_missing"


R_FUNCTIONS

#define R_FUNCTIONS      "R_functions"


R_LIB

#define R_LIB            "R_lib"


ITER_PRINT_FUNC ()

int                 (*ITER_PRINT_FUNC)                  (...,
                                                         PRN *);

... :
Param2 :
Returns :

DEBUG_READLINE ()

int                 (*DEBUG_READLINE)                   (void *);

Param1 :
Returns :

DEBUG_OUTPUT ()

int                 (*DEBUG_OUTPUT)                     (void *);

Param1 :
Returns :

set_nls_toler()

#define set_nls_toler(x) (libset_set_double(NLS_TOLER, x))

x :
Returns :

libset_init ()

int                 libset_init                         (void);

Returns :

libset_cleanup ()

void                libset_cleanup                      (void);


libset_restore_state_zero ()

int                 libset_restore_state_zero           (DATAINFO *pdinfo);

pdinfo :
Returns :

push_program_state ()

int                 push_program_state                  (void);

Returns :

pop_program_state ()

int                 pop_program_state                   (void);

Returns :

libset_get_bool ()

int                 libset_get_bool                     (const char *key);

key :
Returns :

libset_set_bool ()

int                 libset_set_bool                     (const char *key,
                                                         int val);

key :
val :
Returns :

libset_get_double ()

double              libset_get_double                   (const char *key);

key :
Returns :

libset_set_double ()

int                 libset_set_double                   (const char *key,
                                                         double val);

key :
val :
Returns :

libset_get_int ()

int                 libset_get_int                      (const char *key);

key :
Returns :

libset_set_int ()

int                 libset_set_int                      (const char *key,
                                                         int val);

key :
val :
Returns :

set_xsect_hccme ()

void                set_xsect_hccme                     (const char *s);

s :

set_tseries_hccme ()

void                set_tseries_hccme                   (const char *s);

s :

set_panel_hccme ()

void                set_panel_hccme                     (const char *s);

s :

set_garch_robust_vcv ()

void                set_garch_robust_vcv                (const char *s);

s :

get_hac_lag ()

int                 get_hac_lag                         (int T);

T :
Returns :

data_based_hac_bandwidth ()

int                 data_based_hac_bandwidth            (void);

Returns :

get_bkbp_k ()

int                 get_bkbp_k                          (const DATAINFO *pdinfo);

pdinfo :
Returns :

get_bkbp_periods ()

void                get_bkbp_periods                    (const DATAINFO *pdinfo,
                                                         int *l,
                                                         int *u);

pdinfo :
l :
u :

set_bkbp_k ()

int                 set_bkbp_k                          (int k);

k :
Returns :

set_bkbp_periods ()

int                 set_bkbp_periods                    (int bkl,
                                                         int bku);

bkl :
bku :
Returns :

unset_bkbp_k ()

void                unset_bkbp_k                        (void);


unset_bkbp_periods ()

void                unset_bkbp_periods                  (void);


set_mp_bits ()

void                set_mp_bits                         (int b);

b :

get_mp_bits ()

int                 get_mp_bits                         (void);

Returns :

get_init_vals ()

const gretl_matrix * get_init_vals                      (void);

Returns :

n_init_vals ()

int                 n_init_vals                         (void);

Returns :

free_init_vals ()

void                free_init_vals                      (void);


set_loop_on ()

void                set_loop_on                         (int quiet);

quiet :

set_loop_off ()

void                set_loop_off                        (void);


gretl_looping ()

int                 gretl_looping                       (void);

Returns :

gretl_looping_currently ()

int                 gretl_looping_currently             (void);

Returns :

gretl_looping_quietly ()

int                 gretl_looping_quietly               (void);

Returns :

gretl_set_batch_mode ()

void                gretl_set_batch_mode                (int b);

b :

gretl_in_batch_mode ()

int                 gretl_in_batch_mode                 (void);

Returns :

gretl_set_gui_mode ()

void                gretl_set_gui_mode                  (int g);

g :

gretl_in_gui_mode ()

int                 gretl_in_gui_mode                   (void);

Returns :

set_gretl_echo ()

void                set_gretl_echo                      (int e);

e :

gretl_echo_on ()

int                 gretl_echo_on                       (void);

Returns :

set_gretl_messages ()

void                set_gretl_messages                  (int e);

e :

gretl_messages_on ()

int                 gretl_messages_on                   (void);

Returns :

gretl_warnings_on ()

int                 gretl_warnings_on                   (void);

Returns :

gretl_debugging_on ()

int                 gretl_debugging_on                  (void);

Returns :

shelldir_init ()

void                shelldir_init                       (const char *s);

s :

get_shelldir ()

char *              get_shelldir                        (void);

Returns :

get_csv_delim ()

char                get_csv_delim                       (const DATAINFO *pdinfo);

pdinfo :
Returns :

get_csv_na_string ()

const char *        get_csv_na_string                   (void);

Returns :

set_csv_na_string ()

void                set_csv_na_string                   (const char *s);

s :

get_include_path ()

const char *        get_include_path                    (void);

Returns :

set_include_path ()

void                set_include_path                    (const char *s);

s :

execute_set_line ()

int                 execute_set_line                    (const char *line,
                                                         DATAINFO *pdinfo,
                                                         gretlopt opt,
                                                         PRN *prn);

line :
pdinfo :
opt :
prn :
Returns :

set_iter_print_func ()

void                set_iter_print_func                 (ITER_PRINT_FUNC func);

func :

iter_print_callback ()

int                 iter_print_callback                 (int i,
                                                         PRN *prn);

i :
prn :
Returns :

iter_print_func_installed ()

int                 iter_print_func_installed           (void);

Returns :

set_debug_read_func ()

void                set_debug_read_func                 (DEBUG_READLINE dfunc);

dfunc :

get_debug_read_func ()

DEBUG_READLINE      get_debug_read_func                 (void);

Returns :

set_debug_output_func ()

void                set_debug_output_func               (DEBUG_OUTPUT dout);

dout :

get_debug_output_func ()

DEBUG_OUTPUT        get_debug_output_func               (void);

Returns :

set_workdir_callback ()

void                set_workdir_callback                (int (callback) ());

callback :

set_script_switch ()

void                set_script_switch                   (int s);

s :

get_script_switch ()

int                 get_script_switch                   (void);

Returns :

libset_write_script ()

int                 libset_write_script                 (const char *fname);

fname :
Returns :

libset_read_script ()

int                 libset_read_script                  (const char *fname);

fname :
Returns :