constexpr triplex() = default; constexpr triplex(const triplex<T>&) = default; constexpr triplex(const T& v); constexpr triplex(const T& a, const T& b, const T& c); constexpr triplex(const interval<T>& o); constexpr triplex(const interval<T>& o, const T& m); constexpr triplex(const kaucher_interval<T>& o); constexpr triplex(const kaucher_interval<T>& o, const T& m); constexpr triplex(const std::pair<T,T>& p, const T& m); constexpr triplex(const T v[3]);
These are the constructors of the triplex<T> class. All constructors with the constexpr declaration specifier are implemented in inline.
Default constructor, leaves infinimum, value and supremum uninitialized.
Default copy constructor.
Assignment constructor, assigns infinimum, value and supremum to the first and second argument respectively.
Assignment constructor, initializes the interval as a singleton of the given value.
Assignment constructor, initializes the infinimum and supremum to the first and second value of the std::pair,
respectively and sets the value to the given scalar.
Assignment constructor, initializes a triplex from a classic interval, the value is either set as the middle of the
interval or explicitly by the given scalar.
Assignment constructor, initializes a triplex from a kaucher interval, the value is either set as the middle of the
interval or explicitly by the given scalar.