Re: [VOLK] a += b*c ?

2022-08-15 Thread Marcus Müller
Just to be sure you mean, for N-long b and c, a = \sum_{i=0}^{N-1} b[i]c[i], right? That's the dot product, and that exists for a couple in/output types; the kernels you're looking for are all called dot_prod. Cheers, Marcus On 8/15/22 04:41, Randall Wayth wrote: Hi Folks, Hopefully I a

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread Marcus Müller
Hi George, On 8/3/22 19:23, George Edwards wrote: Hi Marcus,  thanks for the response, very much appreciated! I have a Windows PC and I believe that in order to build OOT blocks, one needs a Linux environment. No, that is not correct. I installed VirtualBox so that I can install Ubuntu 20.04 t

Re: [VOLK] a += b*c ?

2022-08-15 Thread Fons Adriaensen
On Mon, Aug 15, 2022 at 12:03:25PM +0200, Marcus Müller wrote: > Just to be sure you mean, for N-long b and c, > > a = \sum_{i=0}^{N-1} b[i]c[i], I suspect the OP meant A [i] += B [i] * C [i], for i = 0...N-1 -- FA

Re: [VOLK] a += b*c ?

2022-08-15 Thread Johannes Demel
Hi, the kernels are type specific. However, if you want a dot product: a = \sum_{i=0}^{N-1} b[i]c[i], https://github.com/gnuradio/volk/blob/main/kernels/volk/volk_32fc_x2_dot_prod_32fc.h A [i] += B [i] * C [i], for i = 0...N-1 This would implement the above formula: 1. https://github.com/g

Re: [VOLK] a += b*c ?

2022-08-15 Thread Randall Wayth
Thanks for the suggestions and apologies for not being 100% clear at the start. I'm not looking for a dot product. I'm looking for a[i] += b[i]*c[i] specifically for floating point So it would be the equivalent of IPP's ippsAddProduct_32f. The application is to apply a window to a set of sampl

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread Cinaed Simson
Incidentally, don't use sudo to run the hackrf on Linux. You should be able to run the hackrf on Linux under your login userid - you just need sudo to install the software on the system. I suggest you subscribe to the hackrf list    https://pairlist9.pair.net/mailman/listinfo/hackrf-dev they

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread George Edwards
Thanks Cinaed, I am going off on vacation, but will definitely contact the hackrf_dev group when I return. George On Mon, Aug 15, 2022 at 7:58 PM Cinaed Simson wrote: > Incidentally, don't use sudo to run the hackrf on Linux. > > You should be able to run the hackrf on Linux under your login u

Re: Ubuntu 20.04 cannot find the Hackrf board?

2022-08-15 Thread George Edwards
Hi Marcus, There are many times I am building custom dsp algorithms that the packages do not support, so I need to write the C++ or Python code for my signal processing algorithms. The Linux distribution after I install gnuradio understands the OOT gr_modtool, how do I replicate this on the Windo