evaluateOn method

num evaluateOn(
  1. double x
)

Evaluates the function on the given x value.

Implementation

num evaluateOn(double x) => const ExpressionParser().evaluateOn(function, x);