SHOGUN
6.0.0
src
shogun
mathematics
ajd
ApproxJointDiagonalizer.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 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
18
#include <
shogun/lib/common.h
>
19
#include <
shogun/lib/SGMatrix.h
>
20
#include <
shogun/lib/SGNDArray.h
>
21
#include <
shogun/base/SGObject.h
>
22
23
#include <
shogun/mathematics/Math.h
>
24
25
namespace
shogun
26
{
27
35
class
CApproxJointDiagonalizer
:
public
CSGObject
36
{
37
public
:
38
40
CApproxJointDiagonalizer
() :
CSGObject
()
41
{
42
};
43
45
virtual
~CApproxJointDiagonalizer
()
46
{
47
}
48
56
virtual
SGMatrix<float64_t>
compute
(
SGNDArray<float64_t>
C,
57
SGMatrix<float64_t>
V0 =
SGMatrix<float64_t>
(NULL,0,0,
false
),
58
double
eps=
CMath::MACHINE_EPSILON
,
59
int
itermax=200) = 0;
60
62
SGMatrix<float64_t>
get_V
()
63
{
64
return
m_V
;
65
}
66
67
protected
:
68
70
SGMatrix<float64_t>
m_V
;
71
72
};
73
}
74
#endif //APPROXJOINTDIAGONALIZER_H_
SGObject.h
shogun::CMath::MACHINE_EPSILON
static const float64_t MACHINE_EPSILON
Definition:
Math.h:2079
shogun::CApproxJointDiagonalizer::CApproxJointDiagonalizer
CApproxJointDiagonalizer()
Definition:
ApproxJointDiagonalizer.h:40
SGNDArray.h
Math.h
SGMatrix.h
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:125
shogun::CApproxJointDiagonalizer::get_V
SGMatrix< float64_t > get_V()
Definition:
ApproxJointDiagonalizer.h:62
shogun::CApproxJointDiagonalizer
Class ApproxJointDiagonalizer defines an Approximate Joint Diagonalizer (AJD) interface.
Definition:
ApproxJointDiagonalizer.h:35
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::SGMatrix< float64_t >
shogun::CApproxJointDiagonalizer::~CApproxJointDiagonalizer
virtual ~CApproxJointDiagonalizer()
Definition:
ApproxJointDiagonalizer.h:45
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:70
common.h
shogun::SGNDArray< float64_t >
SHOGUN
Machine Learning Toolbox - Documentation