If you want speed, you want a shortcut for this.

On Fri, Dec 18, 2009 at 2:40 AM, Sean Owen <[email protected]> wrote:
> Agree, but isn't the conclusion that the internal map returns NaN, and
> if desired, the vector converts that to 0.0?
> In my world of maps, I don't have any case where 'null' should mean '0'.
>
> On Thu, Dec 17, 2009 at 2:18 AM, Ted Dunning <[email protected]> wrote:
>> This seems most congenial.  As Jake says, 0 is definitely handier for the
>> sparse matrix/vector case and NaN is very nice for the collection case.
>

Reply via email to