ell1d class
Ellipsoid Method for special 1D case.
Constructors, destructors, conversion operators
Public functions
- auto xc() const noexcept -> double -> auto
- Get the center of the ellipsoid.
- auto set_xc(const double xc) noexcept -> void -> auto
- Set the xc object.
- auto tsq() const -> double -> constexpr auto
- Get the squared radius of the ellipsoid.
- auto update(const std::pair<double, double>& cut) noexcept -> CutStatus -> auto
- Update the 1D ellipsoid using a deep cut.
- auto update_central_cut(const std::pair<double, double>& cut) noexcept -> CutStatus -> auto
- Update the 1D ellipsoid using a central cut.
Function documentation
auto ell1d:: update_central_cut(const std::pair<double, double>& cut) noexcept -> CutStatus
Update the 1D ellipsoid using a central cut.
| Parameters | |
|---|---|
| cut in | A pair containing (gradient, beta) representing the cut |
| Returns | CutStatus The status of the cut operation |