scipy.linalg.lapack.slartg#
- scipy.linalg.lapack.slartg(f, g) = <flapack function slartg>#
Generate a Givens rotation (LAPACK
slartg).Produces
csandsnwith[[cs, sn], [-conj(sn), cs]] @ [f, g] == [r, 0].- Parameters:
- ffloat
First component.
- gfloat
Second component, the one rotated to zero.
- Returns:
- csfloat
The cosine. Real for every flavor.
- snfloat
The sine.
- rfloat
The resulting first component.