def polyval( self, x ):
        return reduce( lambda cum,c: cum*x+c, self, 0.0 )
Vec([6,3,4]).polyval(5) evaluates to 6*x**2 + 3*x + 4 at x=5
dataset/ETHPy150Open sunlightlabs/clearspending/completeness/statlib/matfunc.py/Vec.polyval