0

Matlab has this function called ismember(n,P) that allows us to check if the number n is in the matrix P. If n is in P it returns 1, otherwise 0. My question is, is there anything similar in Java that would allow me to check the above.
Thanks in advance

Tony Tannous
  • 13,160
  • 8
  • 44
  • 80

0 Answers0