Computes a natural logarithm of vector elements that are increased by 1.
FORTRAN:
call vslog1p( n, a, y )
call vmslog1p( n, a, y, mode )
call vdlog1p( n, a, y )
call vmdlog1p( n, a, y, mode )
C:
vsLog1p( n, a, y );
vmsLog1p( n, a, y, mode );
vdLog1p( n, a, y );
vmdLog1p( n, a, y, mode );
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 vslog1p, vmslog1p DOUBLE PRECISION for vdlog1p, vmdlog1p Fortran 90: REAL, INTENT(IN) for vslog1p, vmslog1p DOUBLE PRECISION, INTENT(IN) for vdlog1p, vmdlog1p C: const float* for vsLog1p, vmsLog1p const double* for vdLog1p, vmdLog1p  | 
FORTRAN: Array that specifies the input vector a. C: Pointer to an array that contains the input vector a.  | 
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 vmlSetMode for possible values and their description.  | 
Name  | 
Type  | 
Description  | 
|---|---|---|
y  | 
FORTRAN 77: REAL for vslog1p, vmslog1p DOUBLE PRECISION for vdlog1p, vmdlog1p Fortran 90: REAL, INTENT(OUT) for vslog1p, vmslog1p DOUBLE PRECISION, INTENT(OUT) for vdlog1p, vmdlog1p C: float* for vsLog1p, vmsLog1p double* for vdLog1p, vmdLog1p  | 
FORTRAN: Array that specifies the output vector y. C: Pointer to an array that contains the output vector y.  | 
The v?Log1p function computes a natural logarithm of vector elements that are increased by 1.