# Sqrt

Computes a square root of vector elements.

## Syntax

Fortran:

call vssqrt( n, a, y )

call vdsqrt( n, a, y )

call vcsqrt( n, a, y )

call vzsqrt( n, a, y )

C:

vsSqrt( n, a, y );

vdSqrt( n, a, y );

vcSqrt( n, a, y );

vzSqrt( 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 vssqrt DOUBLE PRECISION, INTENT(IN) for vdsqrt COMPLEX, INTENT(IN) for vcsqrt DOUBLE COMPLEX, INTENT(IN) for vzsqrt C: const float* for vsSqrt const double* for vdSqrt const MKL_Complex8* for vcSqrt const MKL_Complex16* for vzSqrt | 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 vssqrt DOUBLE PRECISION for vdsqrt COMPLEX for vcsqrt DOUBLE COMPLEX for vzsqrt C: float* for vsSqrt double* for vdSqrt MKL_Complex8* for vcSqrt MKL_Complex16* for vzSqrt | FORTRAN: Array, specifies the output vector y. C: Pointer to an array that contains the output vector y.

Parent topic: Power and Root Functions