1#ifndef ECF_CARTESIAN_DIV_H
2#define ECF_CARTESIAN_DIV_H
5 const double DIVISION_THRESHOLD = 10e-7;
6 template <
typename Container,
typename Result>
11 void evaluate(Container& container, Result& result);
14 template <
typename Container,
typename Result>
21 template <
typename Container,
typename Result>
24 result = *(container.begin());
25 for(
typename Container::iterator it = container.begin() + 1; it != container.begin() + this->numOfArgs_; it++) {
26 if(*it <= DIVISION_THRESHOLD) {
void evaluate(Container &container, Result &result)