#ifndef VECTORFUNCTION_HH #define VECTORFUNCTION_HH #include /** * Interface zur Repraesentation von differenzierbaren Funktionen * g: R^n --> R^n. */ class VectorFunction { public: typedef std::vector VectorType; typedef std::vector MatrixType; // Rein virtuelle Methoden zum Auswerten der Funktion und ihrer // Jakobimatrix virtual void evaluate (const VectorType& x, VectorType& result) const = 0; virtual void evaluateJacobian (const VectorType& x, MatrixType& jacobian) const = 0; }; #endif