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 p?lacgvroutine 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 size (lld_x,*). On entry the vector to be conjugated x(i) = X(ix+(jx-1)*m_x+(i-1)*incx), 1 ≤ in.

ix

(global) INTEGER. The row index in the global matrix X indicating the first row of sub(X).

jx

(global) INTEGER. The column index in the global matrix X indicating the first column of sub(X).

descx

(global and local) INTEGER. Array of size dlen_=9. 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 local pieces of conjugated distributed vector sub(X).

See Also

For more complete information about compiler optimizations, see our Optimization Notice.