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§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