givens_matrix# givens_matrix(a, b)[ソース]# Compute the Givens rotation to zero out a row entry. Returns a 2×2 unitary matrix G that satisfies G(ab)=(r0) where r is a complex number. 参照 https://en.wikipedia.org/wiki/Givens_rotation#Stable_calculation https://www.netlib.org/lapack/lawnspdf/lawn148.pdf パラメータ: a (complex) – A complex number representing the first row entry b (complex) – A complex number representing the second row entry 戻り値: The Givens rotation matrix. 戻り値の型: ndarray