version 1.7, 2010/12/21 13:53:49
|
version 1.16, 2017/06/17 11:06:53
|
Line 1
|
Line 1
|
|
*> \brief \b ZLACRT performs a linear transformation of a pair of complex vectors. |
|
* |
|
* =========== DOCUMENTATION =========== |
|
* |
|
* Online html documentation available at |
|
* http://www.netlib.org/lapack/explore-html/ |
|
* |
|
*> \htmlonly |
|
*> Download ZLACRT + dependencies |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlacrt.f"> |
|
*> [TGZ]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zlacrt.f"> |
|
*> [ZIP]</a> |
|
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zlacrt.f"> |
|
*> [TXT]</a> |
|
*> \endhtmlonly |
|
* |
|
* Definition: |
|
* =========== |
|
* |
|
* SUBROUTINE ZLACRT( N, CX, INCX, CY, INCY, C, S ) |
|
* |
|
* .. Scalar Arguments .. |
|
* INTEGER INCX, INCY, N |
|
* COMPLEX*16 C, S |
|
* .. |
|
* .. Array Arguments .. |
|
* COMPLEX*16 CX( * ), CY( * ) |
|
* .. |
|
* |
|
* |
|
*> \par Purpose: |
|
* ============= |
|
*> |
|
*> \verbatim |
|
*> |
|
*> ZLACRT 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. |
|
*> \endverbatim |
|
* |
|
* Arguments: |
|
* ========== |
|
* |
|
*> \param[in] N |
|
*> \verbatim |
|
*> N is INTEGER |
|
*> The number of elements in the vectors CX and CY. |
|
*> \endverbatim |
|
*> |
|
*> \param[in,out] CX |
|
*> \verbatim |
|
*> CX is COMPLEX*16 array, dimension (N) |
|
*> On input, the vector x. |
|
*> On output, CX is overwritten with c*x + s*y. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCX |
|
*> \verbatim |
|
*> INCX is INTEGER |
|
*> The increment between successive values of CX. INCX <> 0. |
|
*> \endverbatim |
|
*> |
|
*> \param[in,out] CY |
|
*> \verbatim |
|
*> CY is COMPLEX*16 array, dimension (N) |
|
*> On input, the vector y. |
|
*> On output, CY is overwritten with -s*x + c*y. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] INCY |
|
*> \verbatim |
|
*> INCY is INTEGER |
|
*> The increment between successive values of CY. INCY <> 0. |
|
*> \endverbatim |
|
*> |
|
*> \param[in] C |
|
*> \verbatim |
|
*> C is COMPLEX*16 |
|
*> \endverbatim |
|
*> |
|
*> \param[in] S |
|
*> \verbatim |
|
*> S is COMPLEX*16 |
|
*> C and S define the matrix |
|
*> [ C S ]. |
|
*> [ -S C ] |
|
*> \endverbatim |
|
* |
|
* Authors: |
|
* ======== |
|
* |
|
*> \author Univ. of Tennessee |
|
*> \author Univ. of California Berkeley |
|
*> \author Univ. of Colorado Denver |
|
*> \author NAG Ltd. |
|
* |
|
*> \date December 2016 |
|
* |
|
*> \ingroup complex16OTHERauxiliary |
|
* |
|
* ===================================================================== |
SUBROUTINE ZLACRT( N, CX, INCX, CY, INCY, C, S ) |
SUBROUTINE ZLACRT( N, CX, INCX, CY, INCY, C, S ) |
* |
* |
* -- LAPACK auxiliary routine (version 3.2) -- |
* -- LAPACK auxiliary routine (version 3.7.0) -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- LAPACK is a software package provided by Univ. of Tennessee, -- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- |
* November 2006 |
* December 2016 |
* |
* |
* .. Scalar Arguments .. |
* .. Scalar Arguments .. |
INTEGER INCX, INCY, N |
INTEGER INCX, INCY, N |
Line 13
|
Line 118
|
COMPLEX*16 CX( * ), CY( * ) |
COMPLEX*16 CX( * ), CY( * ) |
* .. |
* .. |
* |
* |
* Purpose |
|
* ======= |
|
* |
|
* ZLACRT 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. |
|
* |
|
* Arguments |
|
* ========= |
|
* |
|
* N (input) INTEGER |
|
* The number of elements in the vectors CX and CY. |
|
* |
|
* CX (input/output) COMPLEX*16 array, dimension (N) |
|
* On input, the vector x. |
|
* On output, CX is overwritten with c*x + s*y. |
|
* |
|
* INCX (input) INTEGER |
|
* The increment between successive values of CX. INCX <> 0. |
|
* |
|
* CY (input/output) COMPLEX*16 array, dimension (N) |
|
* On input, the vector y. |
|
* On output, CY is overwritten with -s*x + c*y. |
|
* |
|
* INCY (input) INTEGER |
|
* The increment between successive values of CY. INCY <> 0. |
|
* |
|
* C (input) COMPLEX*16 |
|
* S (input) COMPLEX*16 |
|
* C and S define the matrix |
|
* [ C S ]. |
|
* [ -S C ] |
|
* |
|
* ===================================================================== |
* ===================================================================== |
* |
* |
* .. Local Scalars .. |
* .. Local Scalars .. |