Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
Document Table of Contents

v?erfcx

Computes the scaled complementary error function value of vector elements.

Syntax

call vserfcx( n, a, y )
call vserfcxi(n, a, inca, y, incy)
call vmserfcx( n, a, y, mode )
call vmserfcxi(n, a, inca, y, incy, mode)
call vderfcx( n, a, y )
call vderfcxi(n, a, inca, y, incy)
call vmderfcx( n, a, y, mode )
call vmderfcxi(n, a, inca, y, incy, mode)

Include Files

mkl_vml.f90

Input Parameters

Name

Type

Description

n

INTEGER, INTENT(IN)

Specifies the number of elements to be calculated.

a

REAL, INTENT(IN) for vserfcx, vmserfcx

DOUBLE PRECISION, INTENT(IN) for vderfcx, vmderfcx

Array that specifies the input vector a.

inca, incy

INTEGER, INTENT(IN)

Specifies increments for the elements of a and y.

mode

INTEGER(KIND=8), INTENT(IN)

Overrides global VM mode setting for this function call. See vmlSetMode for possible values and their description.

Output Parameters

Name

Type

Description

y

REAL, INTENT(OUT) for vserfcx, vmserfcx

DOUBLE PRECISION, INTENT(OUT) for vderfcx, vmderfcx

Array that specifies the output vector y.

Description

The erfcx function computes the scaled complementary error function values for elements of the input vector a and writes them to the output vector y.

The scaled complementary error function is defined as follows:

erfcx(x) = exp(x2)▪erfc(x)

Special Values for Real Function v?Erfcx(x)
Argument Result VM Error Status Exception
+ +0    
- +    
QNAN QNAN    
SNAN QNAN   INVALID

See Also