pub struct Quadratic { /* private fields */ }Expand description
Quadratic function structure
Implementations§
Trait Implementations§
Source§impl Function for Quadratic
impl Function for Quadratic
fn newton(&self, limits: &Limits) -> Result<f64, &'static str>
fn solve(&self) -> Option<Vec<f64>>
fn derivative_solve(&self) -> Option<Vec<f64>>
fn f(&self, x: &f64) -> f64
fn derivative_f(&self, _x: &f64) -> f64
fn limits(&self) -> Limits
fn trapezoid(&self, limits: &Limits) -> f64
fn simpson(&self, limits: &Limits) -> f64
fn derivative_points(&self, limits: &Limits) -> Vec<f64>
fn function_points(&self, limits: &Limits) -> Vec<f64>
fn evenness(&self) -> &str
fn calculate_point(&self, x: &f64) -> f64
fn calculate_derivative_point(&self, x: &f64) -> f64
Auto Trait Implementations§
impl Freeze for Quadratic
impl RefUnwindSafe for Quadratic
impl Send for Quadratic
impl Sync for Quadratic
impl Unpin for Quadratic
impl UnwindSafe for Quadratic
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