SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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); \
}
shogun matrix

Definition at line 57 of file EPInferenceMethod.cpp.

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

Definition at line 50 of file EPInferenceMethod.cpp.


SHOGUN Machine Learning Toolbox - Documentation