Functions
DSPF_sp_dotp_cplx
Collaboration diagram for DSPF_sp_dotp_cplx:

Functions

void DSPF_sp_dotp_cplx (const float *x, const float *y, int nx, float *restrict re, float *restrict im)
 

Detailed Description

Function Documentation

◆ DSPF_sp_dotp_cplx()

void DSPF_sp_dotp_cplx ( const float *  x,
const float *  y,
int  nx,
float *restrict  re,
float *restrict  im 
)

This routine calculates the dot product of 2 single-precision complex float vectors. The even numbered locations hold the real parts of the complex numbers while the odd numbered locations contain the imaginary portions.

   @param x   Pointer to array holding the first floating-point vector
   @param y   Pointer to array holding the second floating-point vector
   @param nx  Number of values in the x and y vectors
   @param re  Pointer to the location storing the real part of the result
   @param im  Pointer to the location storing the imaginary part of the result
Algorithm:
DSPF_sp_dotp_cplx_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
Assumptions:
Loop counter must be multiple of 2 and > 0.
The x and y arrays must be double-word aligned.
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.

Copyright 2022, Texas Instruments Incorporated