Is really annoying to try catching errors just to create one when no error is found...
For example, matchNaN throws an error is no NaN are found. Instead, -1 would be a perfectly acceptable index to return. Similarly for other match and lookup functions. Instead, I have to define my own function matchNaN2() with a try/on-error clause...
NaN are very useful as placeholders in matrices, rather than resolving (automatically) as zeroes.
Nested arrays avoid this, but then become more difficult to index.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.