SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
mathematics
ajd
ApproxJointDiagonalizer.h
浏览该文件的文档.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public 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 Kevin Hughes
8
*
9
* Thanks to Andreas Ziehe and Cedric Gouy-Pailler
10
*/
11
12
#ifndef APPROXJOINTDIAGONALIZER_H_
13
#define APPROXJOINTDIAGONALIZER_H_
14
15
#include <
shogun/lib/config.h
>
16
17
#ifdef HAVE_EIGEN3
18
19
#include <
shogun/lib/common.h
>
20
#include <
shogun/lib/SGMatrix.h
>
21
#include <
shogun/lib/SGNDArray.h
>
22
#include <
shogun/base/SGObject.h
>
23
24
#include <
shogun/mathematics/Math.h
>
25
26
namespace
shogun
27
{
28
36
class
CApproxJointDiagonalizer
:
public
CSGObject
37
{
38
public
:
39
41
CApproxJointDiagonalizer
() :
CSGObject
()
42
{
43
};
44
46
virtual
~CApproxJointDiagonalizer
()
47
{
48
}
49
57
virtual
SGMatrix<float64_t>
compute
(
SGNDArray<float64_t>
C,
58
SGMatrix<float64_t>
V0 =
SGMatrix<float64_t>
(NULL,0,0,
false
),
59
double
eps=
CMath::MACHINE_EPSILON
,
60
int
itermax=200) = 0;
61
63
SGMatrix<float64_t>
get_V
()
64
{
65
return
m_V
;
66
}
67
68
protected
:
69
71
SGMatrix<float64_t>
m_V
;
72
73
};
74
}
75
#endif //HAVE_EIGEN3
76
#endif //APPROXJOINTDIAGONALIZER_H_
SGObject.h
shogun::CMath::MACHINE_EPSILON
static const float64_t MACHINE_EPSILON
Definition:
Math.h:2058
shogun::CApproxJointDiagonalizer::CApproxJointDiagonalizer
CApproxJointDiagonalizer()
Definition:
ApproxJointDiagonalizer.h:41
SGNDArray.h
Math.h
config.h
SGMatrix.h
shogun::SGMatrix< float64_t >
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:112
shogun::CApproxJointDiagonalizer::get_V
SGMatrix< float64_t > get_V()
Definition:
ApproxJointDiagonalizer.h:63
shogun::CApproxJointDiagonalizer
Class ApproxJointDiagonalizer defines an Approximate Joint Diagonalizer (AJD) interface.
Definition:
ApproxJointDiagonalizer.h:36
shogun::CApproxJointDiagonalizer::compute
virtual SGMatrix< float64_t > compute(SGNDArray< float64_t > C, SGMatrix< float64_t > V0=SGMatrix< float64_t >(NULL, 0, 0, false), double eps=CMath::MACHINE_EPSILON, int itermax=200)=0
shogun::CApproxJointDiagonalizer::~CApproxJointDiagonalizer
virtual ~CApproxJointDiagonalizer()
Definition:
ApproxJointDiagonalizer.h:46
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::CApproxJointDiagonalizer::m_V
SGMatrix< float64_t > m_V
Definition:
ApproxJointDiagonalizer.h:71
common.h
shogun::SGNDArray< float64_t >
SHOGUN
机器学习工具包 - 项目文档