GestureRecognitionToolkit
Version: 0.1.0
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
Cholesky.h
Go to the documentation of this file.
1
10
/*
11
GRT MIT License
12
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
13
14
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
15
and associated documentation files (the "Software"), to deal in the Software without restriction,
16
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
18
subject to the following conditions:
19
20
The above copyright notice and this permission notice shall be included in all copies or substantial
21
portions of the Software.
22
23
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
24
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
26
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
*/
29
30
#ifndef GRT_CHOLESKY_HEADER
31
#define GRT_CHOLESKY_HEADER
32
33
#include "Log.h"
34
#include "DebugLog.h"
35
#include "ErrorLog.h"
36
#include "WarningLog.h"
37
#include "../DataStructures/VectorFloat.h"
38
#include "../DataStructures/MatrixFloat.h"
39
40
GRT_BEGIN_NAMESPACE
41
42
class
Cholesky
{
43
public
:
44
Cholesky
();
45
Cholesky
(
MatrixFloat
&a);
46
bool
solve(
VectorFloat
&b,
VectorFloat
&x);
47
bool
elmult(
VectorFloat
&y,
VectorFloat
&b);
48
bool
elsolve(
VectorFloat
&b,
VectorFloat
&y);
49
bool
inverse(
MatrixFloat
&ainv);
50
Float logdet();
51
52
bool
getSuccess(){
return
success; }
53
54
unsigned
int
N;
55
bool
success;
56
MatrixFloat
el;
57
58
DebugLog
debugLog;
59
ErrorLog
errorLog;
60
WarningLog
warningLog;
61
62
};
63
64
GRT_END_NAMESPACE
65
66
#endif //GRT_CHOLESKY_HEADER
Cholesky
Definition:
Cholesky.h:42
WarningLog
Definition:
WarningLog.h:51
MatrixFloat
Definition:
MatrixFloat.h:36
VectorFloat
Definition:
VectorFloat.h:33
DebugLog
Definition:
DebugLog.h:51
ErrorLog
Definition:
ErrorLog.h:51
GRT
Util
Cholesky.h
Generated on Sun Feb 21 2016 20:06:25 for GestureRecognitionToolkit by
1.8.11