Registered Member
|
I was wondering whether it is possible to find the max/min coefficients in a sparse matrix in an efficient way.
It seems that the minCoeff()/maxCoeff() functions are not implemented for sparse matrices, which is a bit weird. |
Registered Member
|
As I also need code which work for both dense and sparse matrices (to avoid duplicate code which I'd have to maintain), for now I've done the following:
Would be nicer if this wasn't required though.. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]