Registered Member
|
How can I normalize a sparse vector in Eigen ?
Thanks |
Moderator
|
the normalized() / normalize() methods are indeed missing but the following does the job:
spv /= spv.norm(); |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]