FightOnSCTrojan
2008-08-15 19:10:05 UTC
I have an 1D array of N (approx 90K) elements. I am trying to get rid of all zeros and NaN in the array. What is the fastest way to do so? My solution has been search for array, delete element, repeat the process until the search comes up to be empty (index value =-1). As always, your insights/tricks/inputs are much appreciated. Best,
SantiagoMessage Edited by FightOnSCTrojan on 08-15-2008 11:47 AM
Sample.gif:
Loading Image...
SantiagoMessage Edited by FightOnSCTrojan on 08-15-2008 11:47 AM
Sample.gif:
Loading Image...