libset

libset

Functions

int (*ITER_PRINT_FUNC) ()
void (*SHOW_ACTIVITY_FUNC) ()
int (*DEBUG_READLINE) ()
int (*DEBUG_OUTPUT) ()
int (*QUERY_STOP) ()
#define set_nls_toler()
int libset_init ()
void libset_cleanup ()
int libset_restore_state_zero ()
int push_program_state ()
int pop_program_state ()
int libset_get_bool ()
int libset_set_bool ()
double libset_get_double ()
int libset_set_double ()
double libset_get_user_tolerance ()
int libset_get_int ()
int libset_set_int ()
int is_libset_var ()
int libset_use_openmp ()
int gretl_n_processors ()
int get_omp_n_threads ()
void set_xsect_hccme ()
void set_tseries_hccme ()
void set_panel_hccme ()
void set_garch_robust_vcv ()
int get_hac_lag ()
int data_based_hac_bandwidth ()
int get_bkbp_k ()
void get_bkbp_periods ()
void set_mp_bits ()
int get_mp_bits ()
const gretl_matrix * get_init_vals ()
int n_init_vals ()
void free_init_vals ()
const gretl_matrix * get_matrix_mask ()
int get_matrix_mask_nobs ()
void destroy_matrix_mask ()
void set_loop_on ()
void set_loop_off ()
int gretl_looping ()
int gretl_looping_currently ()
int gretl_looping_quietly ()
int gretl_looping_progressive ()
void gretl_set_batch_mode ()
int gretl_in_batch_mode ()
void gretl_set_gui_mode ()
int gretl_in_gui_mode ()
void set_gretl_echo ()
int gretl_echo_on ()
void set_gretl_messages ()
int gretl_messages_on ()
int gretl_warnings_on ()
int gretl_debugging_on ()
void shelldir_init ()
char * get_shelldir ()
void set_data_export_decimal_comma ()
char get_data_export_decpoint ()
void set_data_export_delimiter ()
char get_data_export_delimiter ()
const char * get_csv_na_write_string ()
int set_csv_na_write_string ()
const char * get_csv_na_read_string ()
int set_csv_na_read_string ()
int execute_set_line ()
void set_iter_print_func ()
int iter_print_callback ()
int iter_print_func_installed ()
void set_show_activity_func ()
void show_activity_callback ()
int show_activity_func_installed ()
void set_debug_read_func ()
DEBUG_READLINE get_debug_read_func ()
void set_debug_output_func ()
DEBUG_OUTPUT get_debug_output_func ()
void set_query_stop_func ()
int check_for_stop ()
void set_workdir_callback ()
int libset_write_script ()
int libset_read_script ()

Types and Values

enum VECMnorm
enum OptimCode
enum SteplenCode
#define BFGS_MAXITER
#define BFGS_TOLER
#define BFGS_MAXGRAD
#define BFGS_VERBSKIP
#define BFGS_RSTEP
#define OPTIM_STEPLEN
#define BHHH_MAXITER
#define BHHH_TOLER
#define LBFGS_MEM
#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 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 GRETL_OPTIM
#define ARMA_VCV
#define SKIP_MISSING
#define R_FUNCTIONS
#define R_LIB
#define NORMAL_RAND
#define DPDSTYLE
#define GMM_MAXITER
#define CSV_DIGITS
#define NADARWAT_TRIM
#define CONV_HUGE
#define USE_OPENMP
#define FDJAC_QUAL

Object Hierarchy


Description

Functions

ITER_PRINT_FUNC ()

int
(*ITER_PRINT_FUNC) (int Param1,
                    PRN *Param2);

Returns


SHOW_ACTIVITY_FUNC ()

void
(*SHOW_ACTIVITY_FUNC) (void);


DEBUG_READLINE ()

int
(*DEBUG_READLINE) (void *Param1);

Returns


DEBUG_OUTPUT ()

int
(*DEBUG_OUTPUT) (void *Param1);

Returns


QUERY_STOP ()

int
(*QUERY_STOP) (void);

Returns


set_nls_toler()

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


libset_init ()

int
libset_init (void);

Returns


libset_cleanup ()

void
libset_cleanup (void);


libset_restore_state_zero ()

int
libset_restore_state_zero (DATASET *dset);

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);

Returns


libset_set_bool ()

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

Returns


libset_get_double ()

double
libset_get_double (const char *key);

Returns


libset_set_double ()

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

Returns


libset_get_user_tolerance ()

double
libset_get_user_tolerance (const char *key);

Returns


libset_get_int ()

int
libset_get_int (const char *key);

Returns


libset_set_int ()

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

Returns


is_libset_var ()

int
is_libset_var (const char *s);

Returns


libset_use_openmp ()

int
libset_use_openmp (guint64 n);

Returns


gretl_n_processors ()

int
gretl_n_processors (void);

Returns


get_omp_n_threads ()

int
get_omp_n_threads (void);

Returns


set_xsect_hccme ()

void
set_xsect_hccme (const char *s);


set_tseries_hccme ()

void
set_tseries_hccme (const char *s);


set_panel_hccme ()

void
set_panel_hccme (const char *s);


set_garch_robust_vcv ()

void
set_garch_robust_vcv (const char *s);


get_hac_lag ()

int
get_hac_lag (int T);

Returns


data_based_hac_bandwidth ()

int
data_based_hac_bandwidth (void);

Returns


get_bkbp_k ()

int
get_bkbp_k (const DATASET *dset);

Returns


get_bkbp_periods ()

void
get_bkbp_periods (const DATASET *dset,
                  int *l,
                  int *u);


set_mp_bits ()

void
set_mp_bits (int 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);


get_matrix_mask ()

const gretl_matrix *
get_matrix_mask (void);

Returns


get_matrix_mask_nobs ()

int
get_matrix_mask_nobs (void);

Returns


destroy_matrix_mask ()

void
destroy_matrix_mask (void);


set_loop_on ()

void
set_loop_on (int quiet,
             int progressive);


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_looping_progressive ()

int
gretl_looping_progressive (void);

Returns


gretl_set_batch_mode ()

void
gretl_set_batch_mode (int b);


gretl_in_batch_mode ()

int
gretl_in_batch_mode (void);

Returns


gretl_set_gui_mode ()

void
gretl_set_gui_mode (void);


gretl_in_gui_mode ()

int
gretl_in_gui_mode (void);

Returns


set_gretl_echo ()

void
set_gretl_echo (int e);


gretl_echo_on ()

int
gretl_echo_on (void);

Returns


set_gretl_messages ()

void
set_gretl_messages (int 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);


get_shelldir ()

char *
get_shelldir (void);

Returns


set_data_export_decimal_comma ()

void
set_data_export_decimal_comma (int s);


get_data_export_decpoint ()

char
get_data_export_decpoint (void);

Returns


set_data_export_delimiter ()

void
set_data_export_delimiter (char c);


get_data_export_delimiter ()

char
get_data_export_delimiter (void);

Returns


get_csv_na_write_string ()

const char *
get_csv_na_write_string (void);

Returns


set_csv_na_write_string ()

int
set_csv_na_write_string (const char *s);

Returns


get_csv_na_read_string ()

const char *
get_csv_na_read_string (void);

Returns


set_csv_na_read_string ()

int
set_csv_na_read_string (const char *s);

Returns


execute_set_line ()

int
execute_set_line (const char *line,
                  DATASET *dset,
                  gretlopt opt,
                  PRN *prn);

Returns


set_iter_print_func ()

void
set_iter_print_func (ITER_PRINT_FUNC func);


iter_print_callback ()

int
iter_print_callback (int i,
                     PRN *prn);

Returns


iter_print_func_installed ()

int
iter_print_func_installed (void);

Returns


set_show_activity_func ()

void
set_show_activity_func (SHOW_ACTIVITY_FUNC func);


show_activity_callback ()

void
show_activity_callback (void);


show_activity_func_installed ()

int
show_activity_func_installed (void);

Returns


set_debug_read_func ()

void
set_debug_read_func (DEBUG_READLINE 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);


get_debug_output_func ()

DEBUG_OUTPUT
get_debug_output_func (void);

Returns


set_query_stop_func ()

void
set_query_stop_func (QUERY_STOP query);


check_for_stop ()

int
check_for_stop (void);

Returns


set_workdir_callback ()

void
set_workdir_callback (int (*callback) ());


libset_write_script ()

int
libset_write_script (const char *fname);

Returns


libset_read_script ()

int
libset_read_script (const char *fname);

Returns

Types and Values

enum VECMnorm

Members

NORM_PHILLIPS

   

NORM_DIAG

   

NORM_FIRST

   

NORM_NONE

   

NORM_MAX

   

enum OptimCode

Members

OPTIM_AUTO

   

OPTIM_BFGS

   

OPTIM_NEWTON

   

OPTIM_MAX

   

enum SteplenCode

Members

STEPLEN_POWER

   

STEPLEN_QUAD

   

STEPLEN_MAX

   

BFGS_MAXITER

#define BFGS_MAXITER     "bfgs_maxiter"


BFGS_TOLER

#define BFGS_TOLER       "bfgs_toler"


BFGS_MAXGRAD

#define BFGS_MAXGRAD     "bfgs_maxgrad"


BFGS_VERBSKIP

#define BFGS_VERBSKIP    "bfgs_verbskip"


BFGS_RSTEP

#define BFGS_RSTEP       "bfgs_richardson"


OPTIM_STEPLEN

#define OPTIM_STEPLEN    "optim_steplen"


BHHH_MAXITER

#define BHHH_MAXITER     "bhhh_maxiter"


BHHH_TOLER

#define BHHH_TOLER       "bhhh_toler"


LBFGS_MEM

#define LBFGS_MEM        "lbfgs_mem"


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"


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"


GRETL_OPTIM

#define GRETL_OPTIM      "optimizer"


ARMA_VCV

#define ARMA_VCV         "arma_vcv"


SKIP_MISSING

#define SKIP_MISSING     "skip_missing"


R_FUNCTIONS

#define R_FUNCTIONS      "R_functions"


R_LIB

#define R_LIB            "R_lib"


NORMAL_RAND

#define NORMAL_RAND      "normal_rand"


DPDSTYLE

#define DPDSTYLE         "dpdstyle"


GMM_MAXITER

#define GMM_MAXITER      "gmm_maxiter"


CSV_DIGITS

#define CSV_DIGITS       "csv_digits"


NADARWAT_TRIM

#define NADARWAT_TRIM    "nadarwat_trim"


CONV_HUGE

#define CONV_HUGE        "huge"


USE_OPENMP

#define USE_OPENMP       "openmp"


FDJAC_QUAL

#define FDJAC_QUAL       "fdjac_quality"