pub struct MonotonicityCheck {
pub label: String,
pub domain: DomainType,
pub function: String,
pub base_params: Vec<(String, f64)>,
pub vary_param: String,
pub values: Vec<f64>,
pub increasing: bool,
}Expand description
Parameterized monotonicity check.
Fields§
§label: StringDescriptive label.
domain: DomainTypeScientific domain.
function: StringFunction name.
base_params: Vec<(String, f64)>Base parameters (excluding the varied parameter).
vary_param: StringName of the parameter to vary.
values: Vec<f64>Successive values for the varied parameter.
increasing: booltrue if the function should be increasing, false if decreasing.
Implementations§
Trait Implementations§
Source§impl Clone for MonotonicityCheck
impl Clone for MonotonicityCheck
Source§fn clone(&self) -> MonotonicityCheck
fn clone(&self) -> MonotonicityCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MonotonicityCheck
impl RefUnwindSafe for MonotonicityCheck
impl Send for MonotonicityCheck
impl Sync for MonotonicityCheck
impl Unpin for MonotonicityCheck
impl UnsafeUnpin for MonotonicityCheck
impl UnwindSafe for MonotonicityCheck
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