Eigen norm() with Boost.Units
问题 I am trying to use Boost.Units with Eigen 3.3.1, but after following the instructions here, and some pieces of informations found around, I still cannot figure out how to make norm() work. Here is what I have so far (sorry for the long code block): #include <boost/units/quantity.hpp> #include <boost/units/systems/si/length.hpp> #include <boost/units/systems/si/area.hpp> #include <boost/units/cmath.hpp> #include <Eigen/Geometry> namespace Eigen { //specialization of numeric traits using boost: