DSPF_sp_dotp_cplx
[Math]

Collaboration diagram for DSPF_sp_dotp_cplx:


Detailed Description

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


Function Documentation

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.

Parameters:
x Pointer to array holding the first floating-point vector
y Pointer to array holding the second floating-point vector
nx Number of values in the x and y vectors
re Pointer to the location storing the real part of the result
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 4 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 2014, Texas Instruments Incorporated