Member function in Eigen math library for vector magnitude
You want .norm(). Note that there's also .squaredNorm(), .normalized() and .normalize().
The method you're looking for is .norm()
.
You want .norm(). Note that there's also .squaredNorm(), .normalized() and .normalize().
The method you're looking for is .norm()
.