18template<
typename IntervalType>
43template<
typename IntervalType>
45 typename IntervalType::value_t nominal) {
47 if(std::isfinite(nominal)) { bounds =
sigma::widen(bounds, nominal); }
48 return triplex_t(std::move(bounds), nominal,
49 typename triplex_t::unchecked_tag_{});
GeneralInterval< T > widen(const GeneralInterval< T > &a, typename GeneralInterval< T >::value_t point)
Widens an interval just enough to contain a point.
Definition general_interval.hpp:836
Models an interval together with a best estimate inside it.
Definition triplex.hpp:42
Defines the GeneralInterval class.
Defines the Interval class.
The namespace that contains the implementation details of the library.
Definition convert.hpp:18
Triplex< IntervalType > make_triplex_(IntervalType bounds, typename IntervalType::value_t nominal)
Assembles a triplex from the result of an operation.
Definition make_triplex.hpp:44
The primary namespace for the sigma library.
Definition affine.hpp:12
Defines the Triplex class.