Struct hyperopt::kernel::continuous::Gaussian
source · pub struct Gaussian<T> { /* private fields */ }Expand description
Gaussian kernel.
Trait Implementations§
source§impl<T> Sample<T> for Gaussian<T>where
T: Copy + SelfAdd + SelfMul + FromPrimitive,
impl<T> Sample<T> for Gaussian<T>where
T: Copy + SelfAdd + SelfMul + FromPrimitive,
source§fn sample(&self, rng: &mut Rng) -> T
fn sample(&self, rng: &mut Rng) -> T
Generate a sample from the Gaussian kernel.
impl<T: Copy> Copy for Gaussian<T>
Auto Trait Implementations§
impl<T> Freeze for Gaussian<T>where
T: Freeze,
impl<T> RefUnwindSafe for Gaussian<T>where
T: RefUnwindSafe,
impl<T> Send for Gaussian<T>where
T: Send,
impl<T> Sync for Gaussian<T>where
T: Sync,
impl<T> Unpin for Gaussian<T>where
T: Unpin,
impl<T> UnwindSafe for Gaussian<T>where
T: UnwindSafe,
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