crotg(3P)
NAME
crotg - Construct a Given’s plane rotation
SYNOPSIS
SUBROUTINE CROTG (A, B, C, S)
COMPLEX A, B, S REAL C
#include <sunperf.h>
void crotg(complex ∗ca, complex ∗cb, float ∗sc, complex ∗s) ;
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.
SunOS 5.0 — Last change: 10 Dec 1998