Struct rusty_machine::learning::toolkit::kernel::KernelArith
source · [−]pub struct KernelArith<K: Kernel>(pub K);
Expand description
A wrapper tuple struct used for kernel arithmetic
Tuple Fields
0: K
Trait Implementations
sourceimpl<T: Kernel, U: Kernel> Add<KernelArith<T>> for KernelArith<U>
impl<T: Kernel, U: Kernel> Add<KernelArith<T>> for KernelArith<U>
sourceimpl<K: Debug + Kernel> Debug for KernelArith<K>
impl<K: Debug + Kernel> Debug for KernelArith<K>
sourceimpl<T: Kernel, U: Kernel> Mul<KernelArith<T>> for KernelArith<U>
impl<T: Kernel, U: Kernel> Mul<KernelArith<T>> for KernelArith<U>
type Output = KernelProd<U, T>
type Output = KernelProd<U, T>
The resulting type after applying the
*
operator.sourcefn mul(self, ker: KernelArith<T>) -> KernelProd<U, T>
fn mul(self, ker: KernelArith<T>) -> KernelProd<U, T>
Performs the
*
operation. Read moreAuto Trait Implementations
impl<K> RefUnwindSafe for KernelArith<K>where
K: RefUnwindSafe,
impl<K> Send for KernelArith<K>where
K: Send,
impl<K> Sync for KernelArith<K>where
K: Sync,
impl<K> Unpin for KernelArith<K>where
K: Unpin,
impl<K> UnwindSafe for KernelArith<K>where
K: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more