19 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 #define LIBOCAS_PLUS_INF (-log(0.0))
23 #define LIBOCAS_CALLOC(x,y) calloc(x,y)
24 #define LIBOCAS_FREE(x) SG_FREE(x)
25 #define LIBOCAS_INDEX(ROW,COL,NUM_ROWS) ((COL)*(NUM_ROWS)+(ROW))
26 #define LIBOCAS_MIN(A,B) ((A) > (B) ? (B) : (A))
27 #define LIBOCAS_MAX(A,B) ((A) < (B) ? (B) : (A))
28 #define LIBOCAS_ABS(A) ((A) < 0 ? -(A) : (A))
51 } ocas_return_value_T;
65 int (*add_new_cut)(
float64_t*, uint32_t*, uint32_t, uint32_t,
void*),
66 int (*compute_output)(
float64_t*,
void* ),
68 void (*ocas_print)(ocas_return_value_T),
83 int (*add_new_cut)(
float64_t*, uint32_t*, uint32_t, uint32_t,
void*),
84 int (*compute_output)(
float64_t*,
void* ),
86 void (*ocas_print)(ocas_return_value_T),
103 int (*add_new_cut)(
float64_t*, uint32_t*, uint32_t,
void*),
104 int (*compute_output)(
float64_t*,
void* ),
106 void (*ocas_print)(ocas_return_value_T),
122 int (*add_pw_constr)(uint32_t, uint32_t,
void*),
123 void (*clip_neg_w)(uint32_t, uint32_t*,
void*),
126 int (*add_new_cut)(
float64_t*, uint32_t*, uint32_t, uint32_t,
void*),
127 int (*compute_output)(
float64_t*,
void* ),
129 void (*ocas_print)(ocas_return_value_T),
133 #endif // DOXYGEN_SHOULD_SKIP_THIS