systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arijit chakraborty <ak...@hotmail.com>
Subject If a Vector is in Another Vector
Date Sun, 09 Jul 2017 10:08:53 GMT
Hi,


Suppose I've 2 vectors as


A = matrix("2 3", 2, 1)


B = matrix(seq(1, 10), 10, 1)


And I want to check if A is in B or not. I can use a for-loop to do so. But in my case that's
not efficient. Is there a way to solve this problem.


I tried "in" as we do in R, but it's not working.


Thank you!

Arijit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message