pub struct BoundedPolynomial {
pub poly: Polynomial,
pub bounds: (f64, f64),
}Expand description
A bounded polynomial contains a polynomial and bounds in which it is defined
Fields§
§poly: Polynomial§bounds: (f64, f64)Implementations§
Source§impl BoundedPolynomial
impl BoundedPolynomial
pub fn bounds_mut(&mut self) -> &mut (f64, f64)
Trait Implementations§
Source§impl Add<BoundedPolynomial> for Function
impl Add<BoundedPolynomial> for Function
Source§impl Add<Term> for BoundedPolynomial
impl Add<Term> for BoundedPolynomial
Source§impl Calculus for BoundedPolynomial
impl Calculus for BoundedPolynomial
Source§impl Clone for BoundedPolynomial
impl Clone for BoundedPolynomial
Source§fn clone(&self) -> BoundedPolynomial
fn clone(&self) -> BoundedPolynomial
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 moreSource§impl Debug for BoundedPolynomial
impl Debug for BoundedPolynomial
Source§impl Div<Term> for BoundedPolynomial
impl Div<Term> for BoundedPolynomial
Source§impl Div<f64> for BoundedPolynomial
impl Div<f64> for BoundedPolynomial
Source§impl From<Polynomial> for BoundedPolynomial
impl From<Polynomial> for BoundedPolynomial
Source§fn from(poly: Polynomial) -> Self
fn from(poly: Polynomial) -> Self
Converts to this type from the input type.
Source§impl Mul<Term> for BoundedPolynomial
impl Mul<Term> for BoundedPolynomial
Source§impl Mul<f64> for BoundedPolynomial
impl Mul<f64> for BoundedPolynomial
Source§impl PartialEq for BoundedPolynomial
impl PartialEq for BoundedPolynomial
Source§impl Sub<BoundedPolynomial> for Function
impl Sub<BoundedPolynomial> for Function
Source§impl Sub<Term> for BoundedPolynomial
impl Sub<Term> for BoundedPolynomial
Source§impl Substitute for BoundedPolynomial
impl Substitute for BoundedPolynomial
fn substitute(&self, x: f64) -> f64
impl StructuralPartialEq for BoundedPolynomial
Auto Trait Implementations§
impl Freeze for BoundedPolynomial
impl RefUnwindSafe for BoundedPolynomial
impl Send for BoundedPolynomial
impl Sync for BoundedPolynomial
impl Unpin for BoundedPolynomial
impl UnwindSafe for BoundedPolynomial
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