Basic Image AlgorithmS Library
2.8.0
Main Page
Related Pages
Modules
Classes
Examples
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
Base
Math
Cholesky.hh
1
/*
2
This file is part of the BIAS library (Basic ImageAlgorithmS).
3
4
Copyright (C) 2003-2009 (see file CONTACT for details)
5
Multimediale Systeme der Informationsverarbeitung
6
Institut fuer Informatik
7
Christian-Albrechts-Universitaet Kiel
8
9
10
BIAS is free software; you can redistribute it and/or modify
11
it under the terms of the GNU Lesser General Public License as published by
12
the Free Software Foundation; either version 2.1 of the License, or
13
(at your option) any later version.
14
15
BIAS is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU Lesser General Public License for more details.
19
20
You should have received a copy of the GNU Lesser General Public License
21
along with BIAS; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
*/
24
25
26
#ifndef _Cholesky_hh_
27
#define _Cholesky_hh_
28
29
#include "bias_config.h"
30
#include <Base/Debug/Error.hh>
31
#include <Base/Math/Matrix.hh>
32
#include <Base/Math/tnt/cholesky.h>
33
34
namespace
BIAS {
35
/**
36
* \class Cholesky
37
* \brief Calculates the Cholesky decomposition of a matrix with TNT function.
38
* Use the Function DecompositionExists() to check if a Decomposition
39
* was possible. Use the function UpperTriangle to obtain the result.
40
* \author BIAS
41
*/
42
class
BIASMathBase_EXPORT
Cholesky
43
{
44
public
:
45
explicit
Cholesky
(
Matrix<double>
const
&A);
46
~Cholesky
() {};
47
48
bool
DecompositionExists();
49
Matrix<double>
UpperTriangle();
50
51
protected
:
52
Matrix<double>
L
;
53
bool
exists
;
54
};
55
56
}
57
58
#endif
/* _Cholesky_hh_ */
BIAS::Cholesky::~Cholesky
~Cholesky()
Definition:
Cholesky.hh:46
BIAS::Cholesky
Calculates the Cholesky decomposition of a matrix with TNT function.
Definition:
Cholesky.hh:42
BIAS::Matrix< double >
BIAS::Cholesky::exists
bool exists
Definition:
Cholesky.hh:53
BIAS::Cholesky::L
Matrix< double > L
Definition:
Cholesky.hh:52
Generated on Tue Feb 6 2018 02:01:33 for Basic Image AlgorithmS Library by
1.8.5