match =: I.@:E. Henry Rich
On 12/18/2016 2:54 PM, Skip Cave wrote:
I have a vector of integers named 'aa', that could be millions of integers long. 1. I want a verb called "match' that will find any duplicates in 'aa' of a test vector of integers that will be smaller than 'aa' I want 'match' to return the index of the location of the start of each match of the test vector in 'aa' For example: aa =: 20 $ i.10 4 5 6 match aa 4 14 9 10 match aa NB. No match should produce no result. Skip Cave Cave Consulting LLC ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
