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 #58 background imageLoading...
Page #58 background image
Function Descriptions
3.25 Median of a Real Valued Array of Floats (Preserved Inputs)
Description:
This module computes the median of a real valued array of floats. The input array is preserved.
If input array preservation is not required, use median_SP_RV() for better performance. This
function calls median_SP_RV() and memcpy_fast().
Header File:
FPU.h
Declaration:
float32 median_noreorder_SP_RV(const float32
*
x, Uint16 N)
Usage:
y = median_noreorder_SP_CV(x, N);
float32 *x
pointer to array of real input values
Uint16 N
size of x array
float32 y
the median of x[]
Alignment Requirements:
None
Notes:
1. This function simply makes a local copy of the input array, and then calls me-
dian_SP_CV() using the copy
2. The length of the copy of the input array is allocated at compile time by the constant
“K” defined in the code. If the passed parameter N is greated than K, memory
corruption will result. Be sure to recompile the library with an appropriate value
K >= N before executing this code. The library uses K = 256 as the default value.
Sep 10, 2012 58

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