9 #ifndef TRACE_SAMPLER_H_
10 #define TRACE_SAMPLER_H_
18 template<
class T>
class SGVector;
85 return "TraceSampler";
102 SG_ADD(&m_num_samples,
"num_samples",
105 SG_ADD(&m_dimension,
"sample_dimension",
112 #endif // TRACE_SAMPLER_H_
virtual const index_t get_dimension() const
virtual SGVector< float64_t > sample(index_t idx) const =0
CTraceSampler(index_t dimension)
virtual const index_t get_num_samples() const
virtual void precompute()=0
Class SGObject is the base class of all shogun objects.
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
Abstract template base class that provides an interface for sampling the trace of a linear operator u...