scipy.linalg.lapack.zlartg#

scipy.linalg.lapack.zlartg(f, g) = <flapack function zlartg>#

Generate a Givens rotation (LAPACK zlartg).

Produces cs and sn with [[cs, sn], [-conj(sn), cs]] @ [f, g] == [r, 0].

Parameters:
fcomplex

First component.

gcomplex

Second component, the one rotated to zero.

Returns:
csfloat

The cosine. Real for every flavor.

sncomplex

The sine.

rcomplex

The resulting first component.