Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Conversion Functions

The functions described in this section perform the following conversion operations for vectors:

  • Sorting all elements of a vector
  • Data type conversion (including floating-point to integer and integer to floating-point)
  • Joining several vectors
  • Extracting components from a complex vector and constructing a complex vector
  • Computing the complex conjugates of vectors
  • Cartesian to polar and polar to Cartesian coordinate conversion.

This section also describes the Intel IPP functions that extract real and imaginary components from a complex vector or construct a complex vector using its real and imaginary components. The functions ippsReal and ippsImag return the real and imaginary parts of a complex vector in a separate vector, respectively. The function ippsRealToCplx constructs a complex vector from real and imaginary components stored in two respective vectors. The function ippsCplxToReal returns the real and imaginary parts of a complex vector in two respective vectors. The function ippsMagnitude computes the magnitude of a complex vector elements.