SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
libocas_common.h
Go to the documentation of this file.
2 #include <shogun/io/SGIO.h>
3 
4 namespace shogun
5 {
6 #define OCAS_PLUS_INF CMath::INFTY
7 #define OCAS_CALLOC(...) calloc(__VA_ARGS__)
8 #define OCAS_FREE(...) SG_FREE(__VA_ARGS__)
9 
10 #define INDEX2(ROW,COL,NUM_ROWS) ((COL)*(NUM_ROWS)+(ROW))
11 }

SHOGUN Machine Learning Toolbox - Documentation