fuse.dof.evaluate_polynomial

fuse.dof.evaluate_polynomial(kernel, args)

The value of a polynomial kernel at values args.

The polynomial’s symbols are replaced with the values of args.

Constructs a lambda function version of the polynomial on first run, to avoid repeated sympy substitutions.

If the values in args are symbolic, falls back to sympy.