pub struct IndiffConfig {
pub n_points: usize,
pub tol: f64,
}Expand description
Configurable options for indifference curve tracing.
Fields§
§n_points: usizeNumber of points to trace along the curve (must be >= 2).
tol: f64Bisection tolerance for solving U(x) = target_utility (e.g. 1e-10).
Trait Implementations§
Source§impl Clone for IndiffConfig
impl Clone for IndiffConfig
Source§fn clone(&self) -> IndiffConfig
fn clone(&self) -> IndiffConfig
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 IndiffConfig
impl Debug for IndiffConfig
Auto Trait Implementations§
impl Freeze for IndiffConfig
impl RefUnwindSafe for IndiffConfig
impl Send for IndiffConfig
impl Sync for IndiffConfig
impl Unpin for IndiffConfig
impl UnsafeUnpin for IndiffConfig
impl UnwindSafe for IndiffConfig
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