dwww Home | Manual pages | Find package

lacrt(3)                             LAPACK                            lacrt(3)

NAME
       lacrt - lacrt: apply plane rotation (unused?)

SYNOPSIS
   Functions
       subroutine clacrt (n, cx, incx, cy, incy, c, s)
           CLACRT performs a linear transformation of a pair of complex
           vectors.
       subroutine zlacrt (n, cx, incx, cy, incy, c, s)
           ZLACRT performs a linear transformation of a pair of complex
           vectors.

Detailed Description
Function Documentation
   subroutine clacrt (integer n, complex, dimension( * ) cx, integer incx,
       complex, dimension( * ) cy, integer incy, complex c, complex s)
       CLACRT performs a linear transformation of a pair of complex vectors.

       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
           N

                     N is INTEGER
                     The number of elements in the vectors CX and CY.

           CX

                     CX is COMPLEX array, dimension (N)
                     On input, the vector x.
                     On output, CX is overwritten with c*x + s*y.

           INCX

                     INCX is INTEGER
                     The increment between successive values of CX.  INCX <> 0.

           CY

                     CY is COMPLEX array, dimension (N)
                     On input, the vector y.
                     On output, CY is overwritten with -s*x + c*y.

           INCY

                     INCY is INTEGER
                     The increment between successive values of CY.  INCY <> 0.

           C

                     C is COMPLEX

           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.

   subroutine zlacrt (integer n, complex*16, dimension( * ) cx, integer incx,
       complex*16, dimension( * ) cy, integer incy, complex*16 c, complex*16 s)

       ZLACRT performs a linear transformation of a pair of complex vectors.

       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.

       Parameters
           N

                     N is INTEGER
                     The number of elements in the vectors CX and CY.

           CX

                     CX is COMPLEX*16 array, dimension (N)
                     On input, the vector x.
                     On output, CX is overwritten with c*x + s*y.

           INCX

                     INCX is INTEGER
                     The increment between successive values of CX.  INCX <> 0.

           CY

                     CY is COMPLEX*16 array, dimension (N)
                     On input, the vector y.
                     On output, CY is overwritten with -s*x + c*y.

           INCY

                     INCY is INTEGER
                     The increment between successive values of CY.  INCY <> 0.

           C

                     C is COMPLEX*16

           S

                     S is COMPLEX*16
                     C and S define the matrix
                        [  C   S  ].
                        [ -S   C  ]

       Author
           Univ. of Tennessee

           Univ. of California Berkeley

           Univ. of Colorado Denver

           NAG Ltd.

Author
       Generated automatically by Doxygen for LAPACK from the source code.

Version 3.12.0              Thu Aug 7 2025 17:26:25                    lacrt(3)

Generated by dwww version 1.16 on Sat Oct 3 05:59:35 CEST 2026.