Absolute and Negation Functions

No overview available.

Topics

Single-Vector Absolute Value

The functions in this group compute the absolute value of each element in a vector.

vDSP_vabs

Calculates the absolute value of each element in the supplied single-precision vector using specified stride.

vDSP_vabsD

Calculates the absolute value of each element in the supplied double-precision vector using specified stride.

vDSP_vabsi

Calculates the absolute value of each element in the supplied integer vector using specified stride.

vDSP_zvabs

Complex vector absolute values; single precision.

vDSP_zvabsD

Complex vector absolute values; double precision.

vDSP_vnabs

Calculates the negative absolute value of each element in the supplied single-precision vector using specified stride.

vDSP_vnabsD

Calculates the negative absolute value of each element in the supplied double-precision vector using specified stride.

Single-Vector Negation

The functions in this group negate each element in a vector.

vDSP_vneg

Calculates the negative value of each element in the supplied single-precision vector using specified stride.

vDSP_vnegD

Calculates the negative value of each element in the supplied double-precision vector using specified stride.

vDSP_zvneg

Complex vector negate; single precision.

vDSP_zvnegD

Complex vector negate; double precision.