SHOGUN  4.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 
15 #ifdef HAVE_EIGEN3
17 
18 namespace shogun
19 {
20 
24 class CDirectSparseLinearSolver : public CLinearSolver<float64_t, float64_t>
25 {
26 public:
29 
32 
42 
44  virtual const char* get_name() const
45  {
46  return "DirectSparseLinearSolver";
47  }
48 
49 };
50 
51 }
52 
53 #endif // HAVE_EIGEN3
54 #endif // DIRECT_SPARSE_LINEAR_SOLVER_H_
virtual SGVector< float64_t > solve(CLinearOperator< SGVector< float64_t >, SGVector< 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
Abstract template base class that represents a linear operator, e.g. a matrix.
Class that provides a solve method for real sparse-matrix linear systems using LLT.

SHOGUN Machine Learning Toolbox - Documentation