Trait argmin::core::ArgminWeightedDot[][src]

pub trait ArgminWeightedDot<T, U, V> {
    fn weighted_dot(&self, w: &V, vec: &T) -> U;
}
Expand description

Dot/scalar product of T and self weighted by W (p^TWv)

Required methods

fn weighted_dot(&self, w: &V, vec: &T) -> U[src]

Dot/scalar product of T and self

Implementors

impl<T, U, V> ArgminWeightedDot<T, U, V> for T where
    Self: ArgminDot<T, U>,
    V: ArgminDot<T, T>, 
[src]

fn weighted_dot(&self, w: &V, v: &T) -> U[src]