pub struct Lcm { /* private fields */ }
Expand description
The result of least concave majorant construction, which occurs
via lcm
or lcm_unordered
.
Implementations§
Source§impl Lcm
impl Lcm
Sourcepub fn interpolate(&self, x: f64) -> f64
pub fn interpolate(&self, x: f64) -> f64
Return the value of the least concave majorant at x
. If x
is outside
the domain of the inputs, then this is extrapolation.
Sourcepub fn derivative(&self, x: f64) -> f64
pub fn derivative(&self, x: f64) -> f64
Return the value of the derivative of the least concave majorant at x
.
If x
is outside the domain defined by the inputs, then this
is clamped to the appropriate end of the codomain of the derivative.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lcm
impl RefUnwindSafe for Lcm
impl Send for Lcm
impl Sync for Lcm
impl Unpin for Lcm
impl UnwindSafe for Lcm
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