pub struct DiffConfig {
pub simplify_result: bool,
pub error_on_unsupported: bool,
pub max_expr_depth: usize,
}Expand description
Configuration for symbolic differentiation.
Fields§
§simplify_result: boolAutomatically simplify algebraic identities after differentiation.
error_on_unsupported: boolReturn an error instead of Zero for unsupported expression nodes.
max_expr_depth: usizeMaximum recursion depth; guards against exponential expression blowup.
Trait Implementations§
Source§impl Clone for DiffConfig
impl Clone for DiffConfig
Source§fn clone(&self) -> DiffConfig
fn clone(&self) -> DiffConfig
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 DiffConfig
impl Debug for DiffConfig
Auto Trait Implementations§
impl Freeze for DiffConfig
impl RefUnwindSafe for DiffConfig
impl Send for DiffConfig
impl Sync for DiffConfig
impl Unpin for DiffConfig
impl UnsafeUnpin for DiffConfig
impl UnwindSafe for DiffConfig
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