v?MulByConj

Performs element by element multiplication of vector a element and conjugated vector b element.

Syntax

Fortran:

call vcmulbyconj( n, a, b, y )

call vmcmulbyconj( n, a, b, y, mode )

call vzmulbyconj( n, a, b, y )

call vmzmulbyconj( n, a, b, y, mode )

C:

vcMulByConj( n, a, b, y );

vmcMulByConj( n, a, b, y, mode );

vzMulByConj( n, a, b, y );

vmzMulByConj( n, a, b, y, mode );

Include Files

The FORTRAN 77 interfaces are specified in the mkl_vml.f77 include file, the Fortran 95 interfaces are specified in the mkl_vml.f90 include file, and the C interfaces are specified in the mkl_vml_functions.h include file.

Input Parameters

Name

Type

Description

n

FORTRAN 77: INTEGER

Fortran 90: INTEGER, INTENT(IN)

C: const int

Specifies the number of elements to be calculated.

a, b

FORTRAN 77: COMPLEX for vcmulbyconj, vmcmulbyconj

DOUBLE COMPLEX for vzmulbyconj, vmzmulbyconj

Fortran 90: COMPLEX, INTENT(IN) for vcmulbyconj, vmcmulbyconj

DOUBLE COMPLEX, INTENT(IN) for vzmulbyconj, vmzmulbyconj

C: const MKL_Complex8* for vcMulByConj, vmcMulByConj

const MKL_Complex16* for vzMulByConj, vmzMulByConj

FORTRAN: Arrays that specify the input vectors a and b.

C: Pointers to arrays that contain the input vectors a and b.

mode

FORTRAN 77: INTEGER*8

Fortran 90: INTEGER(KIND=8), INTENT(IN)

C: const MKL_INT64

Overrides global VML mode setting for this function call. See SetMode for possible values and their description.

Output Parameters

Name

Type

Description

y

FORTRAN 77: COMPLEX for vcmulbyconj, vmcmulbyconj

DOUBLE COMPLEX for vzmulbyconj, vmzmulbyconj

Fortran 90: COMPLEX, INTENT(OUT) for vcmulbyconj, vmcmulbyconj

DOUBLE COMPLEX, INTENT(OUT) for vzmulbyconj, vmzmulbyconj

C: MKL_Complex8* for vcMulByConj, vmcMulByConj

MKL_Complex16* for vzMulByConj, vmzMulByConj

FORTRAN: Array that specifies the output vector y.

C: Pointer to an array that contains the output vector y.

Description

The v?MulByConj function performs element by element multiplication of vector a element and conjugated vector b element.

Specifications for special values of the functions are found according to the formula

MulByConj(x1+i*y1,x2+i*y2) = Mul(x1+i*y1,x2-i*y2).

Overflow in a complex function occurs (supported in the HA/LA accuracy modes only) when x1, x2, y1, y2 are finite numbers, but the real or imaginary part of the exact result is so large that it does not fit the target precision. In this case, the function returns in that part of the result, raises the OVERFLOW exception, and sets the VML Error Status to VML_STATUS_OVERFLOW.


Submit feedback on this help topic

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.