SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Defines
EPInferenceMethod.cpp File Reference

Go to the source code of this file.

Defines

#define CREATE_SGVECTOR(vec, len, sg_type)
#define CREATE_SGMATRIX(mat, rows, cols, sg_type)

Define Documentation

#define CREATE_SGMATRIX (   mat,
  rows,
  cols,
  sg_type 
)
Value:
{ \
        if (!mat.matrix || mat.num_rows!=rows || mat.num_cols!=cols) \
            mat=SGMatrix<sg_type>(rows, cols); \
    }

Definition at line 38 of file EPInferenceMethod.cpp.

#define CREATE_SGVECTOR (   vec,
  len,
  sg_type 
)
Value:
{ \
        if (!vec.vector || vec.vlen!=len) \
            vec=SGVector<sg_type>(len); \
    }

Definition at line 31 of file EPInferenceMethod.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation