1#ifndef ECF_CARTESIAN_LN_H
2#define ECF_CARTESIAN_LN_H
5 template <
typename Container,
typename Result>
10 void evaluate(Container& container, Result& result);
13 template <
typename Container,
typename Result>
20 template <
typename Container,
typename Result>
23 typename Container::iterator it = container.begin();
24 if(std::isnan(*it) || std::isinf(*it) || *it == 0) {
28 result = std::log(std::abs(*it));
31 result = std::log(*it);
void evaluate(Container &container, Result &result)