Exemplo n.º 1
0
 bool far(const ScalarParameter<T> & r, const interval & range, unsigned int numIntervals) const {
     return !range.empty() && getInterval(range, numIntervals) != r.getInterval(range, numIntervals);
 }
Exemplo n.º 2
0
 double norm(const interval & range, unsigned int count) {
     return range.empty() ? 0.0 : mse / ((double)count * range.getExtent() * range.getExtent());
 }