LAPACK  3.4.1
LAPACK: Linear Algebra PACKage
clacrt.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine CLACRT (N, CX, INCX, CY, INCY, C, S)
 CLACRT

Function/Subroutine Documentation

subroutine CLACRT ( INTEGER  N,
COMPLEX, dimension( * )  CX,
INTEGER  INCX,
COMPLEX, dimension( * )  CY,
INTEGER  INCY,
COMPLEX  C,
COMPLEX  S 
)

CLACRT

Download CLACRT + dependencies [TGZ] [ZIP] [TXT]
Purpose:

 CLACRT performs the operation

    (  c  s )( x )  ==> ( x )
    ( -s  c )( y )      ( y )

 where c and s are complex and the vectors x and y are complex.
 
Parameters:
[in]N
          N is INTEGER
          The number of elements in the vectors CX and CY.
 
[in,out]CX
          CX is COMPLEX array, dimension (N)
          On input, the vector x.
          On output, CX is overwritten with c*x + s*y.
 
[in]INCX
          INCX is INTEGER
          The increment between successive values of CX.  INCX <> 0.
 
[in,out]CY
          CY is COMPLEX array, dimension (N)
          On input, the vector y.
          On output, CY is overwritten with -s*x + c*y.
 
[in]INCY
          INCY is INTEGER
          The increment between successive values of CY.  INCY <> 0.
 
[in]C
          C is COMPLEX
 
[in]S
          S is COMPLEX
          C and S define the matrix
             [  C   S  ].
             [ -S   C  ]
 
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011

Definition at line 106 of file clacrt.f.

 All Files Functions