• Jason Rhinelander's avatar
    Allow `constrained_maximum_search` to find `right` · 83b09164
    Jason Rhinelander authored
    This adds support for automatically finding `right` based on `left`: if
    `right` is given as NaN, a search starts at `2*left` (if `left`
    positive) or `-left` (if `left` negative) and continuously doubles the
    potential `right` value until a constraint-violating value is found;
    this then forms the RHS limit.
    83b09164
algorithms.hpp 22.4 KB