PageRenderTime 37ms CodeModel.GetById 25ms app.highlight 11ms RepoModel.GetById 0ms app.codeStats 0ms

/TeXmacs-1.0.7.11-src/src/Typeset/Graphics/equations.hpp

#
C++ Header | 27 lines | 12 code | 6 blank | 9 comment | 0 complexity | a83ba8f3541ccef84c2bdd65cd251149 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, MPL-2.0-no-copyleft-exception
 1
 2/******************************************************************************
 3* MODULE     : equations.hpp
 4* DESCRIPTION: Some tools for solving systems of equations
 5* COPYRIGHT  : (C) 2004  Henri Lesourd
 6*******************************************************************************
 7* This software falls under the GNU general public license version 3 or later.
 8* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
 9* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
10******************************************************************************/
11
12#ifndef EQUATIONS_H
13#define EQUATIONS_H
14#include "point.hpp"
15
16void tridiag_solve (array<double> a, array<double> b, array<double> c,
17		    array<point> x, array<point> y, int n);
18
19void quasitridiag_solve (array<double> a, array<double> b, array<double> c,
20			 array<double> u, array<double> v,
21			 array<point> x, array<point> y, int n);
22
23void xtridiag_solve (array<double> a, array<double> b, array<double> c,
24		     double a0, double a1,
25		     array<point> x, array<point> y, int n);
26
27#endif // defined EQUATIONS_H