void global_init( ) { verbosity = 0; kernel_cache_statistic = 0; /* global variables from svm_hideo.c */ primal=0; dual=0; precision_violations=0; opt_precision=DEF_PRECISION; maxiter=DEF_MAX_ITERATIONS; lindep_sensitivity=DEF_LINDEP_SENSITIVITY; smallroundcount=0; roundnumber=0; /* ********************************* */ /* build the malloc array */ malloc_array = MALLOC(sizeof(HASH_ARRAY)); hash_init_array(malloc_array); }
void global_init( ) { verbosity = 0; kernel_cache_statistic = 0; /* global variables from svm_hideo.c */ primal=0; dual=0; precision_violations=0; opt_precision=DEF_PRECISION; maxiter=DEF_MAX_ITERATIONS; lindep_sensitivity=DEF_LINDEP_SENSITIVITY; smallroundcount=0; roundnumber=0; #ifdef MEX_MEMORY malloc_hash = (HASH_ARRAY *)malloc(sizeof(HASH_ARRAY)); hash_init_array(malloc_hash); #endif }