#ifndef FUNC_POW_H_
#define FUNC_POW_H_

#include <functions/ScalarFunc.h>

/**
 * @short Power function
 * If y <- pow(x,z) and x is negative, then z must be an integer
 * <pre>
 * y <- pow(x,z)
 * y = x^z
 * </pre>
 */
class Pow : public ScalarFunc
{
public:
  Pow ();
  double eval (std::vector <SArray const *> const &args) const;
  bool checkParameterValue (std::vector <SArray const *> const &args) const;
};

#endif /* FUNC_POW_H_ */


syntax highlighted by Code2HTML, v. 0.9.1