KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
n_solve.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* =========================================================================== *
3  |
4  | Copyright (c) 1994-2011 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Ernesto Brau
18  * =========================================================================== */
19 
20 #ifndef N_SOLVE_H
21 #define N_SOLVE_H
22 
23 #include <m_cpp/m_matrix.h>
24 #include <m_cpp/m_vector.h>
25 
26 namespace kjb {
27 
35 Vector forward_substitution(const Matrix& L, const Vector& b);
36 
43 Vector back_substitution(const Matrix& U, const Vector& b);
44 
45 } // namespace kjb
46 
47 #endif /*N_SOLVE_H */
48 
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
Vector back_substitution(const Matrix &U, const Vector &b)
Perform forward substitution to solve the SLE Ux = b, where.
Definition: n_solve.cpp:45
Vector forward_substitution(const Matrix &L, const Vector &b)
Perform forward substitution to solve the SLE Lx = b, where L is an lower triangular matrix and b is ...
Definition: n_solve.cpp:26
Definition for the Vector class, a thin wrapper on the KJB Vector struct and its related functionalit...