SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
EPInferenceMethod.cpp File Reference

Go to the source code of this file.

Macros

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

Macro Definition 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.


SHOGUN Machine Learning Toolbox - Documentation