File:  [local] / rpl / lapack / lapack / zlacgv.f
Revision 1.18: download - view: text, annotated - select for diffs - revision graph
Mon Aug 7 08:39:28 2023 UTC (8 months, 3 weeks ago) by bertrand
Branches: MAIN
CVS tags: rpl-4_1_35, rpl-4_1_34, HEAD
Première mise à jour de lapack et blas.

    1: *> \brief \b ZLACGV conjugates a complex vector.
    2: *
    3: *  =========== DOCUMENTATION ===========
    4: *
    5: * Online html documentation available at
    6: *            http://www.netlib.org/lapack/explore-html/
    7: *
    8: *> \htmlonly
    9: *> Download ZLACGV + dependencies
   10: *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlacgv.f">
   11: *> [TGZ]</a>
   12: *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zlacgv.f">
   13: *> [ZIP]</a>
   14: *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zlacgv.f">
   15: *> [TXT]</a>
   16: *> \endhtmlonly
   17: *
   18: *  Definition:
   19: *  ===========
   20: *
   21: *       SUBROUTINE ZLACGV( N, X, INCX )
   22: *
   23: *       .. Scalar Arguments ..
   24: *       INTEGER            INCX, N
   25: *       ..
   26: *       .. Array Arguments ..
   27: *       COMPLEX*16         X( * )
   28: *       ..
   29: *
   30: *
   31: *> \par Purpose:
   32: *  =============
   33: *>
   34: *> \verbatim
   35: *>
   36: *> ZLACGV conjugates a complex vector of length N.
   37: *> \endverbatim
   38: *
   39: *  Arguments:
   40: *  ==========
   41: *
   42: *> \param[in] N
   43: *> \verbatim
   44: *>          N is INTEGER
   45: *>          The length of the vector X.  N >= 0.
   46: *> \endverbatim
   47: *>
   48: *> \param[in,out] X
   49: *> \verbatim
   50: *>          X is COMPLEX*16 array, dimension
   51: *>                         (1+(N-1)*abs(INCX))
   52: *>          On entry, the vector of length N to be conjugated.
   53: *>          On exit, X is overwritten with conjg(X).
   54: *> \endverbatim
   55: *>
   56: *> \param[in] INCX
   57: *> \verbatim
   58: *>          INCX is INTEGER
   59: *>          The spacing between successive elements of X.
   60: *> \endverbatim
   61: *
   62: *  Authors:
   63: *  ========
   64: *
   65: *> \author Univ. of Tennessee
   66: *> \author Univ. of California Berkeley
   67: *> \author Univ. of Colorado Denver
   68: *> \author NAG Ltd.
   69: *
   70: *> \ingroup complex16OTHERauxiliary
   71: *
   72: *  =====================================================================
   73:       SUBROUTINE ZLACGV( N, X, INCX )
   74: *
   75: *  -- LAPACK auxiliary routine --
   76: *  -- LAPACK is a software package provided by Univ. of Tennessee,    --
   77: *  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
   78: *
   79: *     .. Scalar Arguments ..
   80:       INTEGER            INCX, N
   81: *     ..
   82: *     .. Array Arguments ..
   83:       COMPLEX*16         X( * )
   84: *     ..
   85: *
   86: * =====================================================================
   87: *
   88: *     .. Local Scalars ..
   89:       INTEGER            I, IOFF
   90: *     ..
   91: *     .. Intrinsic Functions ..
   92:       INTRINSIC          DCONJG
   93: *     ..
   94: *     .. Executable Statements ..
   95: *
   96:       IF( INCX.EQ.1 ) THEN
   97:          DO 10 I = 1, N
   98:             X( I ) = DCONJG( X( I ) )
   99:    10    CONTINUE
  100:       ELSE
  101:          IOFF = 1
  102:          IF( INCX.LT.0 )
  103:      $      IOFF = 1 - ( N-1 )*INCX
  104:          DO 20 I = 1, N
  105:             X( IOFF ) = DCONJG( X( IOFF ) )
  106:             IOFF = IOFF + INCX
  107:    20    CONTINUE
  108:       END IF
  109:       RETURN
  110: *
  111: *     End of ZLACGV
  112: *
  113:       END

CVSweb interface <joel.bertrand@systella.fr>