#ifndef PROB_FUNC_H
#define PROB_FUNC_H

#include <funcstate.h>

class prob_f001 : public funcstate< double >
{
public:

  prob_f001() : funcstate<double>(2) {}

  /** (x0^2+x1-11)^2 + (x1^2+x0-7)^2 */
  doublec operator()();

};

class prob_f002 : public funcstate< double >
{
public:
  
  /** Initialize memory for xi.*/
  prob_f002() : funcstate<double>(3) {}

  /** (x0-1)^2+(x1-2)^2+(x2-5)^2 */
  doublec operator()();
};

#endif


