pub struct DiffOpts {
pub method: Symbol,
pub h: f64,
}Expand description
Options controlling a numeric-differentiation call.
method = auto first uses a symbolic CAS body when the function has one,
then a registered differentiator named by the function’s
differentiator_hint, then central finite difference.
Fields§
§method: SymbolThe differentiator method to use, or auto to follow the automatic
symbolic, hinted-exact, then finite-difference order.
h: f64The finite-difference step size.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DiffOpts
impl RefUnwindSafe for DiffOpts
impl Send for DiffOpts
impl Sync for DiffOpts
impl Unpin for DiffOpts
impl UnsafeUnpin for DiffOpts
impl UnwindSafe for DiffOpts
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