pub enum CovarianceKernel {
SquaredExponential {
length_scale: f64,
variance: f64,
},
Matern {
nu: f64,
length_scale: f64,
},
Polynomial {
degree: usize,
offset: f64,
},
Linear,
Periodic {
period: f64,
length_scale: f64,
},
}Variants§
Trait Implementations§
Source§impl Clone for CovarianceKernel
impl Clone for CovarianceKernel
Source§fn clone(&self) -> CovarianceKernel
fn clone(&self) -> CovarianceKernel
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 moreAuto Trait Implementations§
impl Freeze for CovarianceKernel
impl RefUnwindSafe for CovarianceKernel
impl Send for CovarianceKernel
impl Sync for CovarianceKernel
impl Unpin for CovarianceKernel
impl UnsafeUnpin for CovarianceKernel
impl UnwindSafe for CovarianceKernel
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