SHOGUN
3.2.1
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
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
(
58
CLinearOperator<complex128_t>
* A,
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_
SHOGUN
机器学习工具包 - 项目文档