pub struct HuberKernel {
pub delta: f64,
}Expand description
Huber robust kernel.
Fields§
§delta: f64Threshold parameter.
Implementations§
Source§impl HuberKernel
impl HuberKernel
Sourcepub const fn new(delta: f64) -> HuberKernel
pub const fn new(delta: f64) -> HuberKernel
Creates a Huber kernel with the given threshold.
Trait Implementations§
Source§impl Clone for HuberKernel
impl Clone for HuberKernel
Source§fn clone(&self) -> HuberKernel
fn clone(&self) -> HuberKernel
Returns a duplicate of the value. Read more
1.0.0 · 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 HuberKernel
impl Debug for HuberKernel
Source§impl PartialEq for HuberKernel
impl PartialEq for HuberKernel
Source§impl RobustKernel for HuberKernel
impl RobustKernel for HuberKernel
impl Copy for HuberKernel
impl StructuralPartialEq for HuberKernel
Auto Trait Implementations§
impl Freeze for HuberKernel
impl RefUnwindSafe for HuberKernel
impl Send for HuberKernel
impl Sync for HuberKernel
impl Unpin for HuberKernel
impl UnsafeUnpin for HuberKernel
impl UnwindSafe for HuberKernel
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