Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

p?lacgv

Conjugates a complex vector.

Syntax

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

  • mkl_scalapack.h

Description

The p?lacgvfunction 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) The length of the distributed vector sub(X).

x

(local).

Pointer into the local memory to an array of size lld_x * LOCc(n_x). On entry the vector to be conjugated x[i] = X(ix+(jx-1)*m_x+i*incx), 0 ≤ i < n.

ix

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

jx

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

descx

(global and local) Array of size dlen_=9. The array descriptor for the distributed matrix X.

incx

(global) 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