SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
DirectSparseLinearSolver.h
浏览该文件的文档.
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< 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 机器学习工具包 - 项目文档