I am still working through this class and the sparse matrix class that
it was extracted from (thanks, Ismael and Sugit!), so I am not sure if
changing this would cause problems, but the current setup (returning 0
for missing keys) limits usefulness of this class. I see how this is
convenient for sparse matrices; but I would see NaN as a more natural
return value for non-existent keys in the general case. Alternatively,
I guess we could add another method get(int key, double missingReturn).
Thoughts?
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org