DSP_neg32
[Math]

Collaboration diagram for DSP_neg32:


Detailed Description

void DSP_neg32 (const int *restrict x, int *restrict r, int nx)


Function Documentation

void DSP_neg32 ( const int *restrict  x,
int *restrict  r,
int  nx 
)

This function negates the elements of a vector (32-bit elements). The input and output arrays must not be overlapped except for where the input and output pointers are exactly equal

Parameters:
x = Pointer to input data vector of size nx with 32-bit elements
r = Pointer to output data vector of size nx with 32-bit elements
nx = Number of elements of input and output vectors
Algorithm:
DSP_neg32_cn.c is the natural C equivalent of the optimized intrinsic C code without restrictions note that the intrinsic C code is optimized and restrictions may apply.
Assumptions:
nx must be a multiple of 4 and greater than or equal to 4.
The arrays x[ ] and r[ ] must be double-word aligned.
Implementation notes:
Endian Support: The code supports both big and little endian modes.
Interruptibility: The code is interruptible.


Copyright 2014, Texas Instruments Incorporated