scipy.linalg.lapack.dlartg#
- scipy.linalg.lapack.dlartg(f, g) = <flapack function dlartg>#
Generate a Givens rotation (LAPACK
dlartg).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.