pub struct EspritParams {
pub x_min: f64,
pub x_max: f64,
pub err: Option<f64>,
pub err_type: ErrType,
pub m: Option<usize>,
pub lfactor: f64,
pub tol: f64,
pub ctrl_ratio: f64,
}Expand description
Parameters of Esprit::new, with the defaults of the reference.
Fields§
§x_min: f64Lower end of the sampling interval (default 0).
x_max: f64Upper end of the sampling interval (default 1).
err: Option<f64>Error tolerance that selects the number of nodes M. One of err
and m is required: the reference’s knee detection for neither is
not ported.
err_type: ErrTypeInterpretation of err (default absolute).
m: Option<usize>Number of nodes M; overrides err.
lfactor: f64Ratio L / (N - 1) of the Hankel matrix (default 0.4).
tol: f64Threshold below which the imaginary (real) part of the input counts as zero (default 1e-15).
ctrl_ratio: f64The approximation is accepted when its maximum error is below
ctrl_ratio times the first discarded singular value (default 10).
Trait Implementations§
Source§impl Clone for EspritParams
impl Clone for EspritParams
Source§fn clone(&self) -> EspritParams
fn clone(&self) -> EspritParams
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 moreSource§impl Debug for EspritParams
impl Debug for EspritParams
Source§impl Default for EspritParams
impl Default for EspritParams
Source§impl PartialEq for EspritParams
impl PartialEq for EspritParams
impl StructuralPartialEq for EspritParams
Auto Trait Implementations§
impl Freeze for EspritParams
impl RefUnwindSafe for EspritParams
impl Send for EspritParams
impl Sync for EspritParams
impl Unpin for EspritParams
impl UnsafeUnpin for EspritParams
impl UnwindSafe for EspritParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more