Struct rusty_machine::learning::toolkit::kernel::KernelArith
[−]
[src]
pub struct KernelArith<K: Kernel>(pub K);
A wrapper tuple struct used for kernel arithmetic
Trait Implementations
impl<K: Debug + Kernel> Debug for KernelArith<K>
[src]
impl<T: Kernel, U: Kernel> Add<KernelArith<T>> for KernelArith<U>
[src]
type Output = KernelSum<U, T>
The resulting type after applying the +
operator
fn add(self, ker: KernelArith<T>) -> KernelSum<U, T>
The method for the +
operator
impl<T: Kernel, U: Kernel> Mul<KernelArith<T>> for KernelArith<U>
[src]
type Output = KernelProd<U, T>
The resulting type after applying the *
operator
fn mul(self, ker: KernelArith<T>) -> KernelProd<U, T>
The method for the *
operator