pub struct Exponential { /* private fields */ }Expand description
Exponential function structure
Implementations§
Source§impl Exponential
impl Exponential
pub fn new(a: f64, limit_a: f64, limit_b: f64) -> Exponential
pub fn set_limits(&mut self, limit_a: f64, limit_b: f64)
Trait Implementations§
Source§impl Function for Exponential
impl Function for Exponential
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 Exponential
impl RefUnwindSafe for Exponential
impl Send for Exponential
impl Sync for Exponential
impl Unpin for Exponential
impl UnwindSafe for Exponential
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