Overview
Converts the samples in the inputVector from 32-bit integers into floating point values and then divides them by the input scalar.
Dispatcher Prototype
Inputs
- inputVector: The vector of 32-bit integers.
- scalar: The value that the output is divided by after being converted to a float.
- num_points: The number of values.
Outputs
- complexVector: The output vector of floats.
Example Convert full-range integers to floats in range [0,1].
int N = 1<<8;
float* z = (
float*)
volk_malloc(N*
sizeof(
float), alignment);
float scale = (float)N;
for(unsigned int ii=0; ii<N; ++ii){
x[ii] = ii;
}