SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
15 #ifdef HAVE_EIGEN3
17 
18 namespace shogun
19 {
20 template<class T> class SGVector;
21 template<class T> class CLinearOperator;
22 template<class T, class ST> class CLinearSolver;
23 
32 {
33 public:
36 
49  CLinearOperator<complex128_t>* linear_operator,
50  SGVector<float64_t> vector, complex128_t weight);
51 
54 
56  virtual void compute();
57 
59  virtual const char* get_name() const
60  {
61  return "RationalApproximationIndividualJob";
62  }
63 
64 private:
67 
69  SGVector<float64_t> m_vector;
70 
73 
75  complex128_t m_weight;
76 
78  void init();
79 };
80 
81 }
82 
83 #endif // HAVE_EIGEN3
84 #endif // RATIONAL_APPROXIMATION_INDIVIDUAL_JOB_H_

SHOGUN Machine Learning Toolbox - Documentation