pub struct KernelArith<K: Kernel>(pub K);Expand description
A wrapper tuple struct used for kernel arithmetic
Tuple Fields§
§0: KTrait Implementations§
Source§impl<T: Kernel, U: Kernel> Add<KernelArith<T>> for KernelArith<U>
impl<T: Kernel, U: Kernel> Add<KernelArith<T>> for KernelArith<U>
Source§impl<T: Kernel, U: Kernel> Mul<KernelArith<T>> for KernelArith<U>
impl<T: Kernel, U: Kernel> Mul<KernelArith<T>> for KernelArith<U>
Source§type Output = KernelProd<U, T>
type Output = KernelProd<U, T>
The resulting type after applying the
* operator.Source§fn 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> Freeze for KernelArith<K>where
K: Freeze,
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§
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