Lua.- Taking common elements from 2 vectors
I have 2 vectors, lets say v1=(a,b,c,d,e) and v2=(e,h,t,b,w) and I want to
get a third vector containing the common elements of v1 and v2, in this
case v3 = (e,b)
I've seen this is already asked in c++, but I cant see it for Lua.
No comments:
Post a Comment