ibex-team / ibex-lib

IBEX is a C++ library for constraint processing over real numbers.
http://ibex-team.github.io/ibex-lib/
GNU Lesser General Public License v3.0
69 stars 51 forks source link

pow, sqr in Function definitions #468

Closed SimonRohou closed 4 years ago

SimonRohou commented 4 years ago

Would it be possible to provide additional syntax for the square operation?

  Function f("x", "pow(x,2)");
  Function f("x", "sqr(x)");
  Function f("x", "x^2"); // this one works

The users often code with pow and sqr. Thanks!