srotg(3P)
NAME
srotg - Construct a Given’s plane rotation
SYNOPSIS
SUBROUTINE SROTG (A, B, C, S)
REAL A, B, C, S
#include <sunperf.h>
void srotg(float ∗sa, float ∗sb, float ∗sc, float ∗s) ;
PURPOSE
SROTG - Construct a Given’s plane rotation that will annihilate an element of a vector.
PARAMETERS
A - REAL.
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 - REAL.
On entry, B contains the entry to be annihilated in the second vector. Unchanged on exit.
C, S - REAL. 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