Function

vDSP_vssq

Computes the signed squared value of each element in the supplied single-precision vector.

Declaration

void vDSP_vssq(const float *__A, vDSP_Stride __IA, float *__C, vDSP_Stride __IC, vDSP_Length __N);

Parameters

__A

Single-precision real input vector.

__IA

Address stride for A.

__C

Single-precision real output vector.

__IC

Address stride for C.

__N

The number of elements to process.

Discussion

This performs the following operation:

mathematical formula

See Also

Single-Vector Squaring

vDSP_vsq

Computes the squared value of each element in the supplied single-precision vector.

vDSP_vsqD

Computes the squared value of each element in the supplied double-precision vector.

vDSP_vssqD

Computes the signed squared value of each element in the supplied double-precision vector.

vDSP_zvmags

Computes the squared magnitude value of each element in the supplied complex single-precision vector.

vDSP_zvmagsD

Computes the squared magnitude value of each element in the supplied complex double-precision vector.

vDSP_zvmgsa

Complex vector magnitudes square and add; single precision.

vDSP_zvmgsaD

Complex vector magnitudes square and add; double precision.