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. An upper bound: it is capped at
K - 1 (K singular values of the Hankel matrix) and lowered until
the approximation error is controlled.
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§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
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> ⓘ
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> ⓘ
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 moreimpl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSendSync for T
impl<T> MaybeSync for Twhere
T: Sync,
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.