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§
sourcefn weighted_dot(&self, w: &V, vec: &T) -> U
fn weighted_dot(&self, w: &V, vec: &T) -> U
Dot/scalar product of T
and self