Computes the parameters for a Givens rotation.
FORTRAN 77:
call srotg(a, b, c, s)
call drotg(a, b, c, s)
call crotg(a, b, c, s)
call zrotg(a, b, c, s)
Fortran 95:
call rotg(a, b, c, s)
The FORTRAN 77 interfaces are specified in the mkl_blas.fi include file, the Fortran 95 interfaces are specified in the blas.f90 include file, and the C interfaces are specified in the mkl_blas.h include file.
Given the Cartesian coordinates (a, b) of a point, these routines return the parameters c, s, r, and z associated with the Givens rotation. The parameters c and s define a unitary matrix such that:
The parameter z is defined such that if |a| > |b|, z is s; otherwise if c is not 0 z is 1/c; otherwise z is 1.
See a more accurate LAPACK version ?lartg.
REAL for srotg
DOUBLE PRECISION for drotg
COMPLEX for crotg
DOUBLE COMPLEX for zrotg
Provides the x-coordinate of the point p.
REAL for srotg
DOUBLE PRECISION for drotg
COMPLEX for crotg
DOUBLE COMPLEX for zrotg
Provides the y-coordinate of the point p.
Contains the parameter r associated with the Givens rotation.
Contains the parameter z associated with the Givens rotation.
REAL for srotg
DOUBLE PRECISION for drotg
REAL for crotg
DOUBLE PRECISION for zrotg
Contains the parameter c associated with the Givens rotation.
REAL for srotg
DOUBLE PRECISION for drotg
COMPLEX for crotg
DOUBLE COMPLEX for zrotg
Contains the parameter s associated with the Givens rotation.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.