Is there a find function in IML that will let me find indices of nonzero elements? For example I = Find(X[,1]=2) should return indices for all rows in matrix X where the first column value is equal to 2.
One option is to implement this function as a subroutine and call this from my program. But I have peformance concerns as I call this function several times in my code.
Any help will be appreciated.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.