SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
DirectSparseLinearSolver.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 turalPublic 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 DIRECT_SPARSE_LINEAR_SOLVER_H_
11 #define DIRECT_SPARSE_LINEAR_SOLVER_H_
12 
13 #include <shogun/lib/config.h>
14 
16 
17 namespace shogun
18 {
19 
23 class CDirectSparseLinearSolver : public CLinearSolver<float64_t, float64_t>
24 {
25 public:
28 
31 
41 
43  virtual const char* get_name() const
44  {
45  return "DirectSparseLinearSolver";
46  }
47 
48 };
49 
50 }
51 
52 #endif // DIRECT_SPARSE_LINEAR_SOLVER_H_
virtual SGVector< float64_t > solve(CLinearOperator< float64_t > *A, SGVector< float64_t > b)
virtual const char * get_name() const
Abstract template base class that provides an abstract solve method for linear systems, that takes a linear operator , a vector , solves the system and returns the vector .
Definition: LinearSolver.h:25
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
Class that provides a solve method for real sparse-matrix linear systems using LLT.

SHOGUN Machine Learning Toolbox - Documentation