You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@systemml.apache.org by arijit chakraborty <ak...@hotmail.com> on 2017/07/09 10:08:53 UTC

If a Vector is in Another Vector

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