#ifndef SOLVERINTERFACE_HH
#define SOLVERINTERFACE_HH

#include "vectorfunction.hh"

/**
 * Interface zum Loesen von Gleichungen R(z) = 0, R: R^n --> R^n.
 */
class SolverInterface
{
public:
  typedef VectorFunction::VectorType VectorType;

  // Rein virtuelle Methode zum Anwenden des Loesers
  virtual void apply (const VectorFunction& residuumOperator,
                      const VectorType& initialGuess,
                      VectorType& result) const = 0;
};

#endif