61 auto set_xc(
const double xc)
noexcept ->
void { _xc =
xc; }
68 constexpr auto tsq()
const ->
double {
return this->_tsq; }
Ellipsoid Method for special 1D case.
Definition ell1d.hpp:18
ell1d(ell1d &&) noexcept=default
double ArrayType
Definition ell1d.hpp:20
auto update_central_cut(const std::pair< double, double > &cut) noexcept -> CutStatus
Update the 1D ellipsoid using a central cut.
auto xc() const noexcept -> double
Get the center of the ellipsoid.
Definition ell1d.hpp:54
ell1d & operator=(const ell1d &)=default
auto set_xc(const double xc) noexcept -> void
Set the xc object.
Definition ell1d.hpp:61
ell1d(const ell1d &E)=default
Construct a new ell1d object.
auto update(const std::pair< double, double > &cut) noexcept -> CutStatus
Update the 1D ellipsoid using a deep cut.
constexpr auto tsq() const -> double
Get the squared radius of the ellipsoid.
Definition ell1d.hpp:68
auto invalid_value() -> T
Return an invalid/sentinel value for type T.
Definition cutting_plane.hpp:27
CutStatus
Status of cutting plane operations.
Definition ell_config.hpp:47