Is there a function in cvi to take the square root of a 1D array, element by element?
If not, what would be the fastest method of calculatng this?
I'm using CVI 7.0 with the advanced analysis library, so I have access to the 1D array operations.
Thanks-
-stephen
There is no 1D function to do this but you can roll your own easily in C:
for(i=0;i<MaxArraySize;i++)
array[i]=sqrt(array[i]);
Any array routine is going to do the same thing, so you probably won't get it much faster than that.
Dave 🙂