20 using namespace Eigen;
25 CDenseExactLogJob::CDenseExactLogJob()
40 m_log_operator=log_operator;
48 void CDenseExactLogJob::init()
55 SG_ADD(&m_vector,
"trace_sample",
70 REQUIRE(m_log_operator,
"Log operator function is NULL\n");
78 Map<VectorXd> s(m_vector.
vector, m_vector.
vlen);
96 return m_log_operator;
100 #endif // HAVE_EIGEN3
Base class that stores the result of an independent job when the result is a scalar.
virtual ~CDenseExactLogJob()
virtual void submit_result(CJobResult *result)=0
Class SGObject is the base class of all shogun objects.
Abstract base class that provides an interface for computing an aggeregation of the job results of in...
virtual const char * get_name() const
Abstract base for general computation jobs to be registered in CIndependentComputationEngine. compute method produces a job result and submits it to the internal JobResultAggregator. Each set of jobs that form a result will share the same job result aggregator.
SGVector< float64_t > get_vector() const
CDenseMatrixOperator< float64_t > * get_operator() const
virtual SGVector< T > apply(SGVector< T > b) const
CJobResultAggregator * m_aggregator