p?lacgv

Conjugates a complex vector.

Syntax

Fortran:

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

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

C:

void pclacgv (MKL_INT *n , MKL_Complex8 *x , MKL_INT *ix , MKL_INT *jx , MKL_INT *descx , MKL_INT *incx );

void pzlacgv (MKL_INT *n , MKL_Complex16 *x , MKL_INT *ix , MKL_INT *jx , MKL_INT *descx , MKL_INT *incx );

Include Files

  • C: mkl_scalapack.h

Description

The p?lacgv 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 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 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, size (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.

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