Trait argmin_math::ArgminWeightedDot

source ·
pub trait ArgminWeightedDot<T, U, V> {
    // Required method
    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§

source

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

Dot/scalar product of T and self

Implementors§

source§

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