/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

  1. /******************************************************************************
  2. * MODULE : equations.hpp
  3. * DESCRIPTION: Some tools for solving systems of equations
  4. * COPYRIGHT : (C) 2004 Henri Lesourd
  5. *******************************************************************************
  6. * This software falls under the GNU general public license version 3 or later.
  7. * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
  8. * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
  9. ******************************************************************************/
  10. #ifndef EQUATIONS_H
  11. #define EQUATIONS_H
  12. #include "point.hpp"
  13. void tridiag_solve (array<double> a, array<double> b, array<double> c,
  14. array<point> x, array<point> y, int n);
  15. void quasitridiag_solve (array<double> a, array<double> b, array<double> c,
  16. array<double> u, array<double> v,
  17. array<point> x, array<point> y, int n);
  18. void xtridiag_solve (array<double> a, array<double> b, array<double> c,
  19. double a0, double a1,
  20. array<point> x, array<point> y, int n);
  21. #endif // defined EQUATIONS_H