zrotg(3P)
NAME
zrotg - Construct a Given’s plane rotation
SYNOPSIS
SUBROUTINE ZROTG (A, B, C, S)
COMPLEX∗16 A, B, S DOUBLE PRECISION C
#include <sunperf.h>
void zrotg(doublecomplex ∗ca, doublecomplex ∗cb, double ∗ c, doublecomplex ∗s) ;
PURPOSE
ZROTG - Construct a Given’s plane rotation that will annihilate an element of a vector.
PARAMETERS
A - COMPLEX∗16.
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∗16.
On entry, B contains the entry to be annihilated in the second vector.
C - DOUBLE PRECISION.
On exit, C and S are the elements of the rotation matrix that will be applied to annihilate B.
S - COMPLEX∗16.
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