SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
DenseMatrixExactLog.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 DENSE_MATRIX_EXACT_LOG_H_
11 #define DENSE_MATRIX_EXACT_LOG_H_
12 
13 #include <shogun/lib/config.h>
15 
16 
17 namespace shogun
18 {
19 
20 template<class T> class SGVector;
21 template<class T> class CDenseMatrixOperator;
22 class CJobResultAggregator;
23 class CIndependentComputationEngine;
24 
28 class CDenseMatrixExactLog : public COperatorFunction<float64_t>
29 {
30 public:
33 
42 
44  virtual ~CDenseMatrixExactLog();
45 
51  virtual void precompute();
52 
62 
64  virtual const char* get_name() const
65  {
66  return "DenseMatrixExactLog";
67  }
68 };
69 
70 }
71 
72 #endif // DENSE_MATRIX_EXACT_LOG_H_
Class that generates jobs for computing logarithm of a dense matrix linear operator.
Abstract template base class for computing for a linear operator C and a vector s. submit_jobs method creates a bunch of jobs needed to solve for this particular and attaches one unique job aggregator to each of them, then submits them all to the computation engine.
Abstract base class that provides an interface for computing an aggeregation of the job results of in...
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
Abstract base class for solving multiple independent instances of CIndependentJob. It has one method, submit_job, which may add the job to an internal queue and might block if there is yet not space in the queue. After jobs are submitted, it might not yet be ready. wait_for_all waits until all jobs are completed, which must be called to guarantee that all jobs are finished.
virtual CJobResultAggregator * submit_jobs(SGVector< float64_t > sample)

SHOGUN Machine Learning Toolbox - Documentation