pub struct CalcConfig {
pub epsilon: f64,
pub tolerance: f64,
}Expand description
Configurable options for numerical calculations (MU, MRS, etc.).
Fields§
§epsilon: f64Step size for central diff numerical differentiation (e.g. 1e-7).
tolerance: f64Tolerance for f64 comparisons e.g. MRS zero denominator (e.g. 1e-9).
Trait Implementations§
Source§impl Clone for CalcConfig
impl Clone for CalcConfig
Source§fn clone(&self) -> CalcConfig
fn clone(&self) -> CalcConfig
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 CalcConfig
impl Debug for CalcConfig
Auto Trait Implementations§
impl Freeze for CalcConfig
impl RefUnwindSafe for CalcConfig
impl Send for CalcConfig
impl Sync for CalcConfig
impl Unpin for CalcConfig
impl UnsafeUnpin for CalcConfig
impl UnwindSafe for CalcConfig
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