# InvSqrt

Computes an inverse square root of vector elements.

## Syntax

Fortran:

call vsinvsqrt( n, a, y )

call vdinvsqrt( n, a, y )

C:

vsInvSqrt( n, a, y );

vdInvSqrt( 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 vsinvsqrt DOUBLE PRECISION, INTENT(IN) for vdinvsqrt C: const float* for vsInvSqrt const double* for vdInvSqrt | 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 vsinvsqrt DOUBLE PRECISION for vdinvsqrt C: float* for vsInvSqrt double* for vdInvSqrt | FORTRAN: Array, specifies the output vector y. C: Pointer to an array that contains the output vector y.

Parent topic: Power and Root Functions