pub struct Function<T = f64>where
T: Rational,{ /* private fields */ }
Expand description
the main Function type of the library
Implementations§
Source§impl<T: Rational + PartialOrd + 'static> Function<T>
impl<T: Rational + PartialOrd + 'static> Function<T>
Sourcepub fn find_zeroes(&self, range: (i32, i32)) -> Vec<T>
pub fn find_zeroes(&self, range: (i32, i32)) -> Vec<T>
find the zeroes of the current function
Trait Implementations§
impl<T: Rational> Send for Function<T>
Auto Trait Implementations§
impl<T> Freeze for Function<T>
impl<T = f64> !RefUnwindSafe for Function<T>
impl<T = f64> !Sync for Function<T>
impl<T> Unpin for Function<T>
impl<T = f64> !UnwindSafe for Function<T>
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