      static double mp_vavg(_cimg_math_parser& mp) {
        _cimg_mp_vfunc(res = vec.mean());
      }
      static double mp_vavg(_cimg_math_parser& mp) {
        _cimg_mp_vfunc(res = vec.mean());
      }