Function rgsl::blas::level1::srotg

source ·
pub fn srotg(a: &mut [f32], b: &mut [f32], c: &mut [f32], d: &mut [f32]) -> Value
Expand description

This function computes a Givens rotation (c,s) which zeroes the vector (a,b),

[ c s ] [ a ] = [ r ]

[ -s c ] [ b ] [ 0 ]

The variables a and b are overwritten by the routine.