Ceil

Computes a rounded towards plus infinity integer value for each vector element.

Syntax

Fortran:

call vsceil( n, a, y )

call vdceil( n, a, y )

C:

vsCeil( n, a, y );

vdCeil( n, a, y );

Input Parameters

Name

Type

Description

n

FORTRAN: INTEGER, INTENT(IN)

C: int

Specifies the number of elements to be calculated.

a

FORTRAN: REAL, INTENT(IN) for vsceil

DOUBLE PRECISION, INTENT(IN) for vdceil

C: const float* for vsCeil

const double* for vdCeil

FORTRAN: Array, specifies the input vector a.

C: Pointer to an array that contains the input vector a.

Output Parameters

Name

Type

Description

y

FORTRAN: REAL for vsceil

DOUBLE PRECISION for vdceil

C: float* for vsCeil

double* for vdCeil

FORTRAN: Array, specifies the output vector y.

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