This file contains the code of the vector addition.
Definition in file vect_dsp32_neg.c.
#include "dsp.h"
#include "preprocessor.h"
Go to the source code of this file.
Defines | |
#define | DSP32_NEG_KERNEL_X_FCT(x_num, data) |
#define | DSP32_NEGATE(x_num, data) vect1[x_num] = -vect2[x_num]; |
Functions | |
void | dsp32_vect_neg (dsp32_t *vect1, dsp32_t *vect2, int size) |
32-bit fixed point version of the vector negate function. |
#define DSP32_NEG_KERNEL_X_FCT | ( | x_num, | |||
data | ) |
Value:
static void TPASTE2(dsp32_vect_neg_kernel_x, x_num)(dsp32_t *vect1, dsp32_t *vect2) \ { \ MREPEAT(x_num, DSP32_NEGATE, ""); \ }
Definition at line 61 of file vect_dsp32_neg.c.
#define DSP32_NEGATE | ( | x_num, | |||
data | ) | vect1[x_num] = -vect2[x_num]; |