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
  • 14,154
  • 10
  • 50
  • 86

0 Answers0