Computes a rounded integer value in the current rounding mode for each vector element.
Fortran:
call vsnearbyint( n, a, y )
call vdnearbyint( n, a, y )
C:
vsNearbyInt( n, a, y );
vdNearbyInt( n, a, y );
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.
Name |
Type |
Description |
---|---|---|
n |
FORTRAN 77: INTEGER Fortran 90: INTEGER, INTENT(IN) C: const int |
Specifies the number of elements to be calculated. |
a |
FORTRAN 77: REAL for vsnearbyint DOUBLE PRECISION for vdnearbyint Fortran 90: REAL, INTENT(IN) for vsnearbyint DOUBLE PRECISION, INTENT(IN) for vdnearbyint C: const float* for vsNearbyInt const double* for vdNearbyInt |
FORTRAN: Array that specifies the input vector a. C: Pointer to an array that contains the input vector a. |
Name |
Type |
Description |
---|---|---|
y |
FORTRAN 77: REAL for vsnearbyint DOUBLE PRECISION for vdnearbyint Fortran 90: REAL, INTENT(OUT) for vsnearbyint DOUBLE PRECISION, INTENT(OUT) for vdnearbyint C: float* for vsNearbyInt double* for vdNearbyInt |
FORTRAN: Array that specifies the output vector y. C: Pointer to an array that contains the output vector y. |
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.