SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
RationalApproximationIndividualJob.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2013 Soumyajit De
8  */
9 
10 #ifndef RATIONAL_APPROXIMATION_INDIVIDUAL_JOB_H_
11 #define RATIONAL_APPROXIMATION_INDIVIDUAL_JOB_H_
12 
13 #include <shogun/lib/config.h>
14 
16 
17 namespace shogun
18 {
19 template<class T> class SGVector;
20 template<class T> class CLinearOperator;
21 template<class T, class ST> class CLinearSolver;
22 
31 {
32 public:
35 
48  CLinearOperator<complex128_t>* linear_operator,
49  SGVector<float64_t> vector, complex128_t weight);
50 
53 
55  virtual void compute();
56 
58  virtual const char* get_name() const
59  {
60  return "RationalApproximationIndividualJob";
61  }
62 
63 private:
66 
68  SGVector<float64_t> m_vector;
69 
72 
74  complex128_t m_weight;
75 
77  void init();
78 };
79 
80 }
81 
82 #endif // RATIONAL_APPROXIMATION_INDIVIDUAL_JOB_H_
std::complex< float64_t > complex128_t
Definition: common.h:67
Implementation of independent job that solves one of the family of shifted systems in rational approx...
Abstract base class that provides an interface for computing an aggeregation of the job results of in...
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
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.

SHOGUN Machine Learning Toolbox - Documentation