# Acos

Computes inverse cosine of vector elements.

## Syntax

Fortran:

call vsacos( n, a, y )

call vdacos( n, a, y )

call vcacos( n, a, y )

call vzacos( n, a, y )

C:

vsAcos( n, a, y );

vdAcos( n, a, y );

vcAcos( n, a, y );

vzAcos( 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 vsacos DOUBLE PRECISION, INTENT(IN) for vdacos COMPLEX, INTENT(IN) for vcacos DOUBLE COMPLEX, INTENT(IN) for vzacos C: const float* for vsAcos const double* for vdAcos const MKL_Complex8* for vcAcos const MKL_Complex16* for vzAcos | 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 vsacos DOUBLE PRECISION for vdacos COMPLEX for vcacos DOUBLE COMPLEX for vzacos C: float* for vsAcos double* for vdAcos MKL_Complex8* for vcAcos MKL_Complex16* for vzAcos | FORTRAN: Array, specifies the output vector y. C: Pointer to an array that contains the output vector y.

Parent topic: Trigonometric Functions