SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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 RetType, class OperandType> class CLinearOperator;
22 template<class T, class ST> class CLinearSolver;
23 
32 {
33 public:
36 
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_
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 template base class that represents a linear operator, e.g. a matrix.
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