Trait argmin_math::ArgminScaledAdd

source ·
pub trait ArgminScaledAdd<T, U, V> {
    // Required method
    fn scaled_add(&self, factor: &U, vec: &T) -> V;
}
Expand description

Add a T scaled by an U to self

Required Methods§

source

fn scaled_add(&self, factor: &U, vec: &T) -> V

Add a T scaled by an U to self

Implementors§

source§

impl<T, U, W> ArgminScaledAdd<T, U, W> for W
where U: ArgminMul<T, T>, W: ArgminAdd<T, W>,