crotg(3P)
NAME
crotg - Construct a Given’s plane rotation
SYNOPSIS
SUBROUTINE CROTG (A, B, C, S)
void crotg(complex ∗ca, complex ∗cb, float ∗sc, complex ∗s)
COMPLEX A, B, S
REAL C
PURPOSE
CROTG - Construct a Given’s plane rotation that will annihilate an element of a vector.
PARAMETERS
A - COMPLEX.
On entry, A contains the entry in the first vector that corresponds to the element to be annihilated in the second vector. Unchanged on exit.
B - COMPLEX.
On entry, B contains the entry to be annihilated in the second vector.
C - REAL.
On exit, C and S are the elements of the rotation matrix that will be applied to annihilate B.
S - COMPLEX.
On exit, C and S are the elements of the rotation matrix that will be applied to annihilate B.
Sun, Inc. — Last change: 20 Sep 1996