.TH "clartg.f" 3 "Wed Oct 15 2014" "Version 3.4.2" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME clartg.f \- .SH SYNOPSIS .br .PP .SS "Functions/Subroutines" .in +1c .ti -1c .RI "subroutine \fBclartg\fP (F, G, CS, SN, R)" .br .RI "\fI\fBCLARTG\fP generates a plane rotation with real cosine and complex sine\&. \fP" .in -1c .SH "Function/Subroutine Documentation" .PP .SS "subroutine clartg (complexF, complexG, realCS, complexSN, complexR)" .PP \fBCLARTG\fP generates a plane rotation with real cosine and complex sine\&. .PP \fBPurpose: \fP .RS 4 .PP .nf CLARTG generates a plane rotation so that [ CS SN ] [ F ] [ R ] [ __ ] . [ ] = [ ] where CS**2 + |SN|**2 = 1. [ -SN CS ] [ G ] [ 0 ] This is a faster version of the BLAS1 routine CROTG, except for the following differences: F and G are unchanged on return. If G=0, then CS=1 and SN=0. If F=0, then CS=0 and SN is chosen so that R is real. .fi .PP .RE .PP \fBParameters:\fP .RS 4 \fIF\fP .PP .nf F is COMPLEX The first component of vector to be rotated. .fi .PP .br \fIG\fP .PP .nf G is COMPLEX The second component of vector to be rotated. .fi .PP .br \fICS\fP .PP .nf CS is REAL The cosine of the rotation. .fi .PP .br \fISN\fP .PP .nf SN is COMPLEX The sine of the rotation. .fi .PP .br \fIR\fP .PP .nf R is COMPLEX The nonzero component of the rotated vector. .fi .PP .RE .PP \fBAuthor:\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP \fBDate:\fP .RS 4 November 2013 .RE .PP \fBFurther Details: \fP .RS 4 .PP .nf 3-5-96 - Modified with a new algorithm by W. Kahan and J. Demmel This version has a few statements commented out for thread safety (machine parameters are computed on each entry). 10 feb 03, SJH. .fi .PP .RE .PP .PP Definition at line 104 of file clartg\&.f\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.