ell1d class

Ellipsoid Method for special 1D case.

Public types

using ArrayType = double

Constructors, destructors, conversion operators

ell1d(const double& l, const double& u) noexcept
Construct a new ell1d object.
ell1d(const ell1d& E) defaulted explicit
Construct a new ell1d object.

Public functions

auto xc() const noexcept -> double -> auto
auto set_xc(const double& xc) noexcept -> void -> auto
Set the xc object.
auto tsq() const -> double -> auto
auto update(const std::pair<double, double>& cut) noexcept -> CutStatus -> auto
auto update_central_cut(const std::pair<double, double>& cut) noexcept -> CutStatus -> auto

Function documentation

ell1d::ell1d(const double& l, const double& u) noexcept

Construct a new ell1d object.

Parameters
in
in

ell1d::ell1d(const ell1d& E) explicit defaulted

Construct a new ell1d object.

Parameters
in

auto ell1d::xc() const noexcept -> double

Returns double

auto ell1d::set_xc(const double& xc) noexcept -> void

Set the xc object.

Parameters
xc in

auto ell1d::tsq() const -> double

Returns double

auto ell1d::update(const std::pair<double, double>& cut) noexcept -> CutStatus

Parameters
cut in
Returns return_t

auto ell1d::update_central_cut(const std::pair<double, double>& cut) noexcept -> CutStatus

Parameters
cut in
Returns return_t