10 #ifndef SCALAR_RESULT_H_ 11 #define SCALAR_RESULT_H_ 23 template<
class T>
class CScalarResult :
public CJobResult
26 typedef bool supports_complex128_t;
62 return "ScalarResult";
79 m_result=
static_cast<T
>(0);
83 SG_ADD(&m_result,
"scalar_result",
"Scalar result of a computation job",
89 #endif // SCALAR_RESULT_H_ CScalarResult(const T &scalar_result)
Base class that stores the result of an independent job.
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
const T get_result() const