Page 1 of 1

DSP Code Component Question

Posted: Tue Dec 31, 2019 5:38 pm
by deraudrl
On page 240 or so of the user guide is what it describes as "a complete summary of the operators and functions that are currently supported" as sin1, cos1, tan1, log10, min, max, and rndint. If it matters, I'm using 3.0.6, the user guide is marked 3.0.8.

After some investigation, I discovered that sqrt and abs also worked, or at least "worked" as in "accepted as valid". (I haven't stuffed any real data through them yet but the generated ASM code looks plausible.)

Is there a correct list somewhere of all the functions actually supported?

Re: DSP Code Component Question

Posted: Tue Dec 31, 2019 6:24 pm
by martinvicanek
I think exp and pow are also supported, however most of the built-in functions are very slow. You might want to check out these: http://flowstone.guru/downloads/stream-math-functions/

Re: DSP Code Component Question

Posted: Tue Dec 31, 2019 8:13 pm
by deraudrl
martinvicanek wrote:I think exp and pow are also supported, however most of the built-in functions are very slow. You might want to check out these: http://flowstone.guru/downloads/stream-math-functions/
Yeah, looking at the generated code, it looks like there's quite a bit of room for optimization. I've got that stream-math-function set somewhere in my download folder already, just hadn't gotten a good look at it yet.

Thanks!