src/parser/Expression.cc
double Expression::operator()(vector<double> const &x) const {
  Insist(x.size() > 0, std::string("Expression::operator() requires a non-zero length ") +
                           std::string("vector as an argument."));
  Require(x.size() == number_of_variables());
  return evaluate_(&x[0]);
}
//------------------------------------------------------------------------------------------------//
/*!
 * \param[in] x Variable values to apply to the expression. The values must be
 *                 in SI units.
 *
 * \return Evaluated value of the expression. The dimensions of this value are
 *         specified by Expression::unit(). The value is returned in SI units.
 */
\param[in] x Variable values to apply to the expression. The values must be
in SI units.

\return Evaluated value of the expression. The dimensions of this value are
specified by Expression::unit(). The value is returned in SI units.
\ param [ in ] x Variable values to apply to the expression . The values must be in SI units . \ return Evaluated value of the expression . The dimensions of this value are specified by Expression :: unit () . The value is returned in SI units .
double Expression::operator()(vector<double> const &x) const {
  Insist(x.size() > 0, std::string("Expression::operator() requires a non-zero length ") +
                           std::string("vector as an argument."));
  Require(x.size() == number_of_variables());
  return evaluate_(&x[0]);
}
double Expression :: operator () ( vector < double > const & x ) const { Insist ( x . size ( ) > 0 , std :: string ( " " ) + std :: string ( " " ) ) ; Require ( x . size ( ) == number_of_variables ( ) ) ; return evaluate_ ( & x [ 0 ] ) ; }
\param[in] x Variable values to apply to the expression.
\ param [ in ] x Variable values to apply to the expression .