Registered Member
|
I have a previously populated SparseVector<double> and now I'd like to retrieve the values at various indexes or 0 if those values haven't been set. coeffRef seems to do the job, but it inserts new entries in the vector for unseen indexes. Is there a way to do this without changing the vector?
|
Moderator
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]