Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66935

numpy searchsorted implentation/labview equivalent?

$
0
0

So as the title suggests I am wondering if there exists an equivalent to numpys searchsorted function which basically takes in an array and an element as input and outputs the index where it should be inserted to maintain order. So for instance if I have the array [1,2,3,4] and element 5 the output would be 4 since it has to be added to the end to maintain order. Does there exist a labview equivalent of this or do I have to implement it myself? And if yes what would be the easiest way to do it?


Viewing all articles
Browse latest Browse all 66935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>