Intel® oneAPI Math Kernel Library Developer Reference - C
Generates a plane rotation designed to introduce a bulge in implicit QR iteration for the bidiagonal SVD problem.
lapack_int LAPACKE_slartgs (floatx, floaty, floatsigma, float* cs, float* sn);
lapack_int LAPACKE_dlartgs (doublex, doubley, doublesigma, double* cs, double* sn);
The routine generates a plane rotation designed to introduce a bulge in Golub-Reinsch-style implicit QR iteration for the bidiagonal SVD problem. x and y are the top-row entries, and sigma is the shift. The computed cs and sn define a plane rotation that satisfies the following:
with r nonnegative.
If x2 - sigma and x * y are 0, the rotation is by π/2
A <datatype> placeholder, if present, is used for the C interface data types in the C interface section above. See C Interface Conventions for the C interface principal conventions and type definitions.
The (1,1) and (1,2) entries of an upper bidiagonal matrix, respectively.
Shift
The cosine of the rotation.
The sine of the rotation.
If info = 0, the execution is successful.
If info = - 1, x is NaN.
If info = - 2, y is NaN.
If info = - 3, sigma is NaN.