pub struct HuberProposal2 {
pub k: f64,
}Expand description
Huber’s Proposal 2 scale: solve (1/n) Σ ψ((rᵢ−μ)/s)² = β (with
β = E_Φ[ψ²]) jointly with the location, by fixed-point iteration.
Fields§
§k: f64Tuning constant k for the ψ used in the scale equation.
Trait Implementations§
Source§impl Clone for HuberProposal2
impl Clone for HuberProposal2
Source§fn clone(&self) -> HuberProposal2
fn clone(&self) -> HuberProposal2
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 moreimpl Copy for HuberProposal2
Source§impl Debug for HuberProposal2
impl Debug for HuberProposal2
Source§impl Default for HuberProposal2
impl Default for HuberProposal2
Source§fn default() -> HuberProposal2
fn default() -> HuberProposal2
Returns the “default value” for a type. Read more
Source§impl ScaleEstimator for HuberProposal2
impl ScaleEstimator for HuberProposal2
Auto Trait Implementations§
impl Freeze for HuberProposal2
impl RefUnwindSafe for HuberProposal2
impl Send for HuberProposal2
impl Sync for HuberProposal2
impl Unpin for HuberProposal2
impl UnsafeUnpin for HuberProposal2
impl UnwindSafe for HuberProposal2
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,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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