SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
SGVector.cpp File Reference

Go to the source code of this file.

Classes

struct  IndexSorter< T >
 

Macros

#define COMPLEX128_ERROR_NOARG(function)
 
#define BOOL_ERROR_ONEARG(function)
 
#define COMPLEX128_ERROR_ONEARG(function)
 
#define COMPLEX128_ERROR_TWOARGS(function)
 
#define COMPLEX128_ERROR_THREEARGS(function)
 
#define MATHOP(op)
 
#define COMPLEX128_MATHOP(op)
 
#define COMPLEX128_MATHOP_NOTIMPLEMENTED(op)
 
#define UNDEFINED(function, type)
 

Macro Definition Documentation

#define BOOL_ERROR_ONEARG (   function)
Value:
template <> \
void SGVector<bool>::function(bool a) \
{ \
SG_SERROR("SGVector::%s():: Not supported for bool\n",\
#function);\
}
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 37 of file SGVector.cpp.

#define COMPLEX128_ERROR_NOARG (   function)
Value:
template <> \
void SGVector<complex128_t>::function() \
{ \
SG_SERROR("SGVector::%s():: Not supported for complex128_t\n",\
#function);\
}
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 29 of file SGVector.cpp.

#define COMPLEX128_ERROR_ONEARG (   function)
Value:
template <> \
void SGVector<complex128_t>::function(complex128_t a) \
{ \
SG_SERROR("SGVector::%s():: Not supported for complex128_t\n",\
#function);\
}
std::complex< float64_t > complex128_t
Definition: common.h:65
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 45 of file SGVector.cpp.

#define COMPLEX128_ERROR_THREEARGS (   function)
Value:
template <> \
void SGVector<complex128_t>::function(complex128_t a, complex128_t b,\
{ \
SG_SERROR("SGVector::%s():: Not supported for complex128_t\n",\
#function);\
}
std::complex< float64_t > complex128_t
Definition: common.h:65
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 61 of file SGVector.cpp.

#define COMPLEX128_ERROR_TWOARGS (   function)
Value:
template <> \
void SGVector<complex128_t>::function(complex128_t a, complex128_t b) \
{ \
SG_SERROR("SGVector::%s():: Not supported for complex128_t\n",\
#function);\
}
std::complex< float64_t > complex128_t
Definition: common.h:65
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 53 of file SGVector.cpp.

#define COMPLEX128_MATHOP (   op)
Value:
template <>\
void SGVector<complex128_t>::op() \
{ \
for (int32_t i=0; i<vlen; i++) \
vector[i]=complex128_t(CMath::op(vector[i])); \
}
std::complex< float64_t > complex128_t
Definition: common.h:65

Definition at line 1281 of file SGVector.cpp.

#define COMPLEX128_MATHOP_NOTIMPLEMENTED (   op)
Value:
template <>\
void SGVector<complex128_t>::op() \
{ \
SG_SERROR("SGVector::%s():: Not supported for complex128_t\n",#op);\
}
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 1302 of file SGVector.cpp.

#define MATHOP (   op)
Value:
template <class T> void SGVector<T>::op() \
{ \
for (int32_t i=0; i<vlen; i++) \
vector[i]=(T) CMath::op((double) vector[i]); \
}

Definition at line 1258 of file SGVector.cpp.

#define UNDEFINED (   function,
  type 
)
Value:
template <> \
SGVector<float64_t> SGVector<type>::function() \
{ \
SG_SERROR("SGVector::%s():: Not supported for %s\n", \
#function, #type); \
SGVector<float64_t> ret(vlen); \
return ret; \
}
#define SG_SERROR(...)
Definition: SGIO.h:181

Definition at line 1414 of file SGVector.cpp.


SHOGUN Machine Learning Toolbox - Documentation