Back to index

texmacs  1.0.7.15
equations.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : equations.hpp
00004 * DESCRIPTION: Some tools for solving systems of equations
00005 * COPYRIGHT  : (C) 2004  Henri Lesourd
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef EQUATIONS_H
00013 #define EQUATIONS_H
00014 #include "point.hpp"
00015 
00016 void tridiag_solve (array<double> a, array<double> b, array<double> c,
00017                   array<point> x, array<point> y, int n);
00018 
00019 void quasitridiag_solve (array<double> a, array<double> b, array<double> c,
00020                       array<double> u, array<double> v,
00021                       array<point> x, array<point> y, int n);
00022 
00023 void xtridiag_solve (array<double> a, array<double> b, array<double> c,
00024                    double a0, double a1,
00025                    array<point> x, array<point> y, int n);
00026 
00027 #endif // defined EQUATIONS_H