Subject: Re: [ublas] Question regarding sparse vector's nnz() method
Date: 2010-03-10 17:46:53
On Wed, Mar 10, 2010 at 10:18:32PM +0000, Rui Maciel wrote:
> So, can anyone help? Does the nnz() method return the number of mapped
> elements? If not, is there any way to access that information?
To the best of my knowledge nnz() indeed stands for the Number of Non Zero
entries of a sparse matrix. Checking boost/numeric/ublas/matrix_sparse.hpp,
it does seem to be implemented accordingly.