1 of 1 people found this helpful
I must admit that I have never seen the ability to declare a range like, or use arrays/ranges as arguments and return values to 'standard' functions that in 'ansi c' - python (especially numpy) yes; matlab/octave yes. And porting those languages to an embedded system might be possible but is it worth it? (Or am I just showing my ignorance of teh capabilities of whatever PSoC device you are using?)
The same goes for your description of array division.
The 'normal c' way of doing this is using a for loop and iterating over the elements of both arrays.
Can you provide a reference to the ANSI C Standard where this is done?
Also which PSoC device are you targeting? I would think you need to go for one with a floating point processor in built. Even then, transcendental functions can be relatively slow if you are not careful, especially when you are trying to apply them to large(ish) arrays.
Adding to SuMa_296631's response, it would be easier for us to provide a workaround for your request if you share the code. Can you please share the code that you want to implement in PSoC Creator?
Rakshith M B