EasyManuals Logo

Texas Instruments C28 Series User Manual

Texas Instruments C28 Series
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #55 background imageLoading...
Page #55 background image
Function Descriptions
3.22 Inverse Absolute Value of an Even Length Complex Vector
Description:
This module calculates the inverse absolute value of an even length complex vector.
Y [i] =
1
p
(X
re
[i]
2
+ X
im
[i]
2
)
Header File:
FPU.h
Declaration:
void iabs_SP_CV_2(float32
*
y, const complex_float
*
x, const Uint16 N)
Usage:
iabs_SP_CV_2(y, x, N);
float32 *y
output array
complex_float *x
input complex array
Uint16 N
length of x and y arrays (must be even)
The type “complex_float” is defined as
typedef struct{
float32 dat[2];
}complex_float;
Element dat[0] is the real part, dat[1] is the imaginary part.
Alignment Requirements:
None
Notes:
1. N must be EVEN
Example:
#include "FPU.h"
#define N 4
float32 y[N];
complex_float x[N];
main()
{
iabs_SP_CV_2(y, x, N); // inverse complex absolute value
}
Benchmark Information:
Number of Cycles = 15*N + 22 cycles (including the call and return)
Sep 10, 2012 55

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals