pub struct BoundsCertificate {
pub lower: Option<NonnegativityCertificate>,
pub upper: Option<NonnegativityCertificate>,
pub lower_bound: f64,
pub upper_bound: f64,
}Expand description
Certificate for bounds on polynomial
Fields§
§lower: Option<NonnegativityCertificate>Lower bound certificate (p - lower ≥ 0)
upper: Option<NonnegativityCertificate>Upper bound certificate (upper - p ≥ 0)
lower_bound: f64Certified lower bound
upper_bound: f64Certified upper bound
Implementations§
Source§impl BoundsCertificate
impl BoundsCertificate
Sourcepub fn certify_bounds(p: &Polynomial) -> Self
pub fn certify_bounds(p: &Polynomial) -> Self
Find certified bounds on polynomial
Trait Implementations§
Source§impl Clone for BoundsCertificate
impl Clone for BoundsCertificate
Source§fn clone(&self) -> BoundsCertificate
fn clone(&self) -> BoundsCertificate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BoundsCertificate
impl RefUnwindSafe for BoundsCertificate
impl Send for BoundsCertificate
impl Sync for BoundsCertificate
impl Unpin for BoundsCertificate
impl UnwindSafe for BoundsCertificate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more