# p?lacgv

Conjugates a complex vector.

## Syntax

call pclacgv(n, x, ix, jx, descx, incx)

call pzlacgv(n, x, ix, jx, descx, incx)

## Description

The routine conjugates a complex vector `sub(x)` of length n, where `sub(x)` denotes `X(ix, `jx:jx+n-1)`` if `incx = m_x`, and `X(ix:ix+n-1, jx)` if `incx = 1`.

## Input Parameters

n

  (global) INTEGER. The length of the distributed vector sub(x).

x

  (local).

  COMPLEX for pclacgv

  COMPLEX*16 for pzlacgv.Pointer into the local memory to an array of DIMENSION (lld_x,*). On entry the vector to be conjugated `x(i) = X(ix+(jx-1)*m_x+(i-1)*incx)`, `1 ≤ i ≤ n`.

ix

  (global) INTEGER.The row index in the global array x indicating the first row of sub(x).

jx

  (global) INTEGER. The column index in the global array x indicating the first column of sub(x).

descx

  (global and local) INTEGER. Array, DIMENSION (dlen_). The array descriptor for the distributed matrix X.

incx

  (global) INTEGER.The global increment for the elements of X. Only two values of incx are supported in this version, namely 1 and m_x. incx must not be zero.

## Output Parameters

x

  (local).

  On exit, the conjugated vector.

Parent topic: Auxiliary Routines