SHOGUN  4.2.0
UWedge.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
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 UWEDGE_H_
13 #define UWEDGE_H_
14
15 #include <shogun/lib/config.h>
16
17
18
20
21 namespace shogun
22 {
23
34 {
35  public:
36
39  {
40  }
41
43  virtual ~CUWedge()
44  {
45  }
46
55  SGMatrix<float64_t> V0 = SGMatrix<float64_t>(NULL,0,0,false),
56  double eps=1e-12,
57  int itermax=200);
58
67  SGMatrix<float64_t> V0 = SGMatrix<float64_t>(NULL,0,0,false),
68  double eps=1e-12,
69  int itermax=200)
70  {
71  m_V = diagonalize(C,V0,eps,itermax);
72  return m_V;
73  }
74
76  virtual const char* get_name() const { return "UWedge"; }
77 };
78 }
79 #endif //UWEDGE_H_
virtual SGMatrix< float64_t > compute(SGNDArray< float64_t > C, SGMatrix< float64_t > V0=SGMatrix< float64_t >(NULL, 0, 0, false), double eps=1e-12, int itermax=200)
Definition: UWedge.h:66
virtual ~CUWedge()
Definition: UWedge.h:43
virtual const char * get_name() const
Definition: UWedge.h:76
Class UWedge.
Definition: UWedge.h:33
Class ApproxJointDiagonalizer defines an Approximate Joint Diagonalizer (AJD) interface.
static SGMatrix< float64_t > diagonalize(SGNDArray< float64_t > C, SGMatrix< float64_t > V0=SGMatrix< float64_t >(NULL, 0, 0, false), double eps=1e-12, int itermax=200)
Definition: UWedge.cpp:12
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN Machine Learning Toolbox - Documentation