Skip to main content

xpby_f32

Function xpby_f32 

Source
pub fn xpby_f32(a: &mut [f32], b: &[f32], beta: f32)
Expand description

Compute a[i] = b[i] + beta * a[i] (used in CG for p update)