74 bool less_than(L2QE
const& lhs,
double l) {
return lhs.lambda <
l; }
76 L2QE
const*
const r762_begin = r762;
77 L2QE
const*
const r762_end = r762 +
sizeof(r762) /
sizeof(L2QE);
82 double const lambda_min =
first->lambda;
83 double const lambda_max = (last - 1)->lambda;
85 if (lambda < lambda_min || lambda > lambda_max)
return 0;
87 L2QE
const*
const p(std::lower_bound(
first, last, lambda, less_than));
92 L2QE
const*
const q =
p - 1;
93 return (lambda -
q->lambda)*(
p->qe -
q->qe)/(
p->lambda -
q->lambda) +
q->qe;