pub enum ExtrapolationMethod {
Linear,
Polynomial(usize),
Richardson,
}Expand description
Extrapolation method for ZNE.
Variants§
Linear
Simple linear fit through all data points.
Polynomial(usize)
Polynomial fit of the given degree via least-squares.
Richardson
Richardson extrapolation (exact for polynomials of degree n-1 where n is the number of data points).
Trait Implementations§
Source§impl Clone for ExtrapolationMethod
impl Clone for ExtrapolationMethod
Source§fn clone(&self) -> ExtrapolationMethod
fn clone(&self) -> ExtrapolationMethod
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 moreAuto Trait Implementations§
impl Freeze for ExtrapolationMethod
impl RefUnwindSafe for ExtrapolationMethod
impl Send for ExtrapolationMethod
impl Sync for ExtrapolationMethod
impl Unpin for ExtrapolationMethod
impl UnsafeUnpin for ExtrapolationMethod
impl UnwindSafe for ExtrapolationMethod
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