Vector Optimized Library of Kernels 3.1.0
Architecture-tuned implementations of math kernels
volk_32f_s32f_s32f_mod_range_32f

wraps floating point numbers to stay within a defined [min,max] range

Dispatcher Prototype

void volk_32f_s32f_s32f_mod_range_32f(float* outputVector, const float* inputVector,
const float lower_bound, const float upper_bound, unsigned int num_points)

Inputs

  • inputVector: The input vector
  • lower_bound: The lower output boundary
  • upper_bound: The upper output boundary
  • num_points The number of data points.

Outputs

  • outputVector: The vector where the results will be stored.