Legendre polynomials

There’s a one-argument constructor var(vari*).

OK, that would probably work too. So, the last line of


could also be `return var(precom_v_vari(f, x.vi, dfdx));

It would also be a bit more efficient because the containers don’t need to be constructed and destroyed.