LGS-Loeser 0.1

Gauss.h

00001 
00002 // Praktikum Informatik 1
00003 // Versuch 7: L�sung eines mathematischen Anwendungsproblems
00004 //
00005 // Datei:  Gauss.h
00006 // Inhalt: Gauss-Klasse
00008 
00009 #ifndef GAUSS_H_
00010 #define GAUSS_H_
00011 
00015 
00016 #include "LGSLoeser.h"
00017 
00021 class Gauss : public LGSLoeser
00022 {
00023 public:
00024         Gauss(int n);
00025         Vektor loese(QMatrix A, Vektor b);
00026         ~Gauss();
00027 
00028 private:
00029         void stufenForm(QMatrix& A, Vektor& b);
00030         void rueckwaertsEinsetzen(QMatrix& A, Vektor& b);
00031 
00032         Vektor* x;;
00033 };
00034 
00035 
00036 #endif /*GAUSS_H_*/
 All Classes