On Thu, Mar 20, 2014 at 12:51 PM, Nasi [email protected] wrote:

Thanks!

As I see you apply it to the first element of x as in

volk_32fc_something_32fc(&x[0], …);.

I want to multiply the whole vector like as a inner product of two vectors.

Is it possible?

NE

Not sure I exactly follow your comment, but you can do something like

this:

int N;

vector<gr_complex> x(N);

vector<gr_complex> y(N);

vector<gr_complex> z(N);

// fill x and y with stuff

volk_32fc_x2_dot_prod_32fc(&z[0], &x[0], &y[0], N);

That will take the dot product of x and y and put the results in z.

Tom