*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> complib/slartg (3)              
Title
Content
Arch
Section
 

Contents


SLARTG(3F)							    SLARTG(3F)


NAME    [Toc]    [Back]

     SLARTG - generate a plane rotation	so that	  [ CS SN ]

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	SLARTG(	F, G, CS, SN, R	)

	 REAL		CS, F, G, R, SN

PURPOSE    [Toc]    [Back]

     SLARTG generate a plane rotation so that
	[ -SN  CS  ]	 [ G ]	   [ 0 ]

     This is a slower, more accurate version of	the BLAS1 routine SROTG, with
     the following other differences:
	F and G	are unchanged on return.
	If G=0,	then CS=1 and SN=0.
	If F=0 and (G .ne. 0), then CS=0 and SN=1 without doing	any
	   floating point operations (saves work in SBDSQR when
	   there are zeros on the diagonal).

     If	F exceeds G in magnitude, CS will be positive.

ARGUMENTS    [Toc]    [Back]

     F	     (input) REAL
	     The first component of vector to be rotated.

     G	     (input) REAL
	     The second	component of vector to be rotated.

     CS	     (output) REAL
	     The cosine	of the rotation.

     SN	     (output) REAL
	     The sine of the rotation.

     R	     (output) REAL
	     The nonzero component of the rotated vector.
SLARTG(3F)							    SLARTG(3F)


NAME    [Toc]    [Back]

     SLARTG - generate a plane rotation	so that	  [ CS SN ]

SYNOPSIS    [Toc]    [Back]

     SUBROUTINE	SLARTG(	F, G, CS, SN, R	)

	 REAL		CS, F, G, R, SN

PURPOSE    [Toc]    [Back]

     SLARTG generate a plane rotation so that
	[ -SN  CS  ]	 [ G ]	   [ 0 ]

     This is a slower, more accurate version of	the BLAS1 routine SROTG, with
     the following other differences:
	F and G	are unchanged on return.
	If G=0,	then CS=1 and SN=0.
	If F=0 and (G .ne. 0), then CS=0 and SN=1 without doing	any
	   floating point operations (saves work in SBDSQR when
	   there are zeros on the diagonal).

     If	F exceeds G in magnitude, CS will be positive.

ARGUMENTS    [Toc]    [Back]

     F	     (input) REAL
	     The first component of vector to be rotated.

     G	     (input) REAL
	     The second	component of vector to be rotated.

     CS	     (output) REAL
	     The cosine	of the rotation.

     SN	     (output) REAL
	     The sine of the rotation.

     R	     (output) REAL
	     The nonzero component of the rotated vector.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
zlartg IRIX generate a plane rotation so that [ CS SN ] [ F ] [ R ] [ __ ]
clartg IRIX generate a plane rotation so that [ CS SN ] [ F ] [ R ] [ __ ]
rotmg IRIX BLAS Level-1. Compute the elements of a modified Givens plane rotation. FORTRAN SYNOPSIS subroutine drotmg( d1
clacrt IRIX applie a plane rotation, where the cos and sin (C and S) are complex and the vectors CX and CY are complex
zlacrt IRIX applie a plane rotation, where the cos and sin (C and S) are complex and the vectors CX and CY are complex
slargv IRIX generate a vector of real plane rotations, determined by elements of the real vectors x and y
dlargv IRIX generate a vector of real plane rotations, determined by elements of the real vectors x and y
zlargv IRIX generate a vector of complex plane rotations with real cosines, determined by elements of the complex vectors
clargv IRIX generate a vector of complex plane rotations with real cosines, determined by elements of the complex vectors
dmColorSetHue IRIX set/get the hue rotation.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service