KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
n_cholesky.h
Go to the documentation of this file.
1 /* =========================================================================== *
2  |
3  | Copyright (c) 1994-2011 by Kobus Barnard (author)
4  |
5  | Personal and educational use of this code is granted, provided that this
6  | header is kept intact, and that the authorship is not misrepresented, that
7  | its use is acknowledged in publications, and relevant papers are cited.
8  |
9  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
10  |
11  | Please note that the code in this file has not necessarily been adequately
12  | tested. Naturally, there is no guarantee of performance, support, or fitness
13  | for any particular task. Nonetheless, I am interested in hearing about
14  | problems that you encounter.
15  |
16  | Author: Ernesto Brau
17  * =========================================================================== */
18 
19 /* $Id$ */
20 
21 #ifndef N_CHOLESKY_H
22 #define N_CHOLESKY_H
23 
24 #include <m_cpp/m_matrix.h>
25 #include <m/m_matrix.h>
26 #include <n/n_cholesky.h>
27 
28 namespace kjb {
29 
34 inline
36 {
37  kjb_c::Matrix* kjb_matrix = 0;
39  return Matrix(kjb_matrix);
40 }
41 
46 double log_det(const Matrix& M);
47 
48 } // namespace kjb
49 
50 #endif /*N_CHOLESKY_H */
51 
Matrix cholesky_decomposition(const Matrix &M)
Definition: n_cholesky.h:35
#define ETX(a)
Definition: l_exception.h:67
double log_det(const Matrix &M)
Definition: n_cholesky.cpp:27
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
const Impl_type * get_c_matrix() const
Get const pointer to the underlying kjb_c::Matrix C struct.
Definition: m_matrix.h:601
This class implements matrices, in the linear-algebra sense, with real-valued elements.
Definition: m_matrix.h:94