SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
mathematics
linalg
linsolver
DirectLinearSolverComplex.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_LINEAR_SOLVER_COMPLEX_H_
11
#define DIRECT_LINEAR_SOLVER_COMPLEX_H_
12
13
#include <
shogun/lib/config.h
>
14
15
#ifdef HAVE_EIGEN3
16
#include <
shogun/mathematics/linalg/linsolver/LinearSolver.h
>
17
18
namespace
shogun
19
{
20
22
enum
EDirectSolverType
23
{
24
DS_LLT
=0,
25
DS_QR_NOPERM
=1,
26
DS_QR_COLPERM
=2,
27
DS_QR_FULLPERM
=3,
28
DS_SVD
=4
29
};
30
34
class
CDirectLinearSolverComplex
:
public
CLinearSolver
<complex128_t, float64_t>
35
{
36
public
:
38
CDirectLinearSolverComplex
();
39
45
CDirectLinearSolverComplex
(
EDirectSolverType
type);
46
48
virtual
~CDirectLinearSolverComplex
();
49
57
virtual
SGVector<complex128_t>
solve
(
CLinearOperator<complex128_t>
* A,
58
SGVector<float64_t>
b);
59
61
virtual
const
char
*
get_name
()
const
62
{
63
return
"DirectLinearSolverComplex"
;
64
}
65
66
private
:
68
const
EDirectSolverType
m_type;
69
70
};
71
72
}
73
74
#endif // HAVE_EIGEN3
75
#endif // DIRECT_LINEAR_SOLVER_COMPLEX_H_
config.h
shogun::DS_LLT
Definition:
DirectLinearSolverComplex.h:24
shogun::DS_QR_COLPERM
Definition:
DirectLinearSolverComplex.h:26
shogun::DS_QR_FULLPERM
Definition:
DirectLinearSolverComplex.h:27
shogun::CDirectLinearSolverComplex
Class that provides a solve method for complex dense-matrix linear systems.
Definition:
DirectLinearSolverComplex.h:34
shogun::CDirectLinearSolverComplex::get_name
virtual const char * get_name() const
Definition:
DirectLinearSolverComplex.h:61
shogun::SGVector< complex128_t >
shogun::CDirectLinearSolverComplex::solve
virtual SGVector< complex128_t > solve(CLinearOperator< complex128_t > *A, SGVector< float64_t > b)
Definition:
DirectLinearSolverComplex.cpp:44
shogun::EDirectSolverType
EDirectSolverType
Definition:
DirectLinearSolverComplex.h:22
shogun::CLinearSolver
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
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::DS_QR_NOPERM
Definition:
DirectLinearSolverComplex.h:25
shogun::CLinearOperator< complex128_t >
shogun::CDirectLinearSolverComplex::CDirectLinearSolverComplex
CDirectLinearSolverComplex()
Definition:
DirectLinearSolverComplex.cpp:25
shogun::CDirectLinearSolverComplex::~CDirectLinearSolverComplex
virtual ~CDirectLinearSolverComplex()
Definition:
DirectLinearSolverComplex.cpp:39
LinearSolver.h
shogun::DS_SVD
Definition:
DirectLinearSolverComplex.h:28
SHOGUN
机器学习工具包 - 项目文档