LGS-Loeser 0.1

LGSLoeser.h

00001 
00002 // Praktikum Informatik 1
00003 // Versuch 7: Lösung eines mathematischen Anwendungsproblems
00004 //
00005 // Datei:  LGSLoeser.h
00006 // Inhalt: Abstrakte Oberklasse LGSLoeser
00008 
00009 #ifndef LGSLOESER_H_
00010 #define LGSLOESER_H_
00011 
00015 
00016 #include "QMatrix.h"
00017 #include "Vektor.h"
00018 
00022  
00023 // Abstrakte Oberklasse
00024 class LGSLoeser
00025 {
00026 public:
00027         // Lösungsmethode, übernimmt Matrix A und Vektor b und gibt die Lösung x zurück
00028         virtual Vektor loese(QMatrix A, Vektor b)=0;
00029         
00030 protected:
00031         Vektor* x;
00032 };
00033 
00034 #endif /*LGSLOESER_H_*/
 All Classes