pub struct MiniPoleDlrParams {
pub n0: usize,
pub nmax: Option<f64>,
pub err: Option<f64>,
pub err_type: ErrType,
pub m: Option<usize>,
pub symmetry: bool,
pub k_max: usize,
pub lfactor: f64,
}Expand description
Parameters of mini_pole_dlr, with the defaults of the reference.
Fields§
§n0: usizeIndex of the lowest Matsubara frequency ω_{n0} = (2 n0 + 1)π/β of
the contour, typically in 0..10.
nmax: Option<f64>Cutoff nmax of the upper end (2 nmax + 1)π/β of the contour when
symmetry is false; None uses β.
err: Option<f64>Error tolerance of ESPRIT. One of err and m is required.
err_type: ErrTypeInterpretation of err (default absolute).
m: Option<usize>Number of poles.
symmetry: boolImpose up-down symmetry (the gapless map).
k_max: usizeMaximum number of moments (default 200).
lfactor: f64Ratio L/N of ESPRIT (default 0.4).
Implementations§
Source§impl MiniPoleDlrParams
impl MiniPoleDlrParams
Sourcepub fn new(n0: usize, err: f64) -> MiniPoleDlrParams
pub fn new(n0: usize, err: f64) -> MiniPoleDlrParams
Parameters with contour start n0, tolerance err and defaults
otherwise.
Trait Implementations§
Source§impl Clone for MiniPoleDlrParams
impl Clone for MiniPoleDlrParams
Source§fn clone(&self) -> MiniPoleDlrParams
fn clone(&self) -> MiniPoleDlrParams
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 MiniPoleDlrParams
impl Debug for MiniPoleDlrParams
Source§impl PartialEq for MiniPoleDlrParams
impl PartialEq for MiniPoleDlrParams
impl StructuralPartialEq for MiniPoleDlrParams
Auto Trait Implementations§
impl Freeze for MiniPoleDlrParams
impl RefUnwindSafe for MiniPoleDlrParams
impl Send for MiniPoleDlrParams
impl Sync for MiniPoleDlrParams
impl Unpin for MiniPoleDlrParams
impl UnsafeUnpin for MiniPoleDlrParams
impl UnwindSafe for MiniPoleDlrParams
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 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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.