cutcutcodec.core.compilation.sympy_to_torch.preprocess

Prepare the work for the Printer, decompose and analyse.

Functions

evalf(expr)

Numerical eval and simplification of the expression.

preprocess(expr, cst_args, shapes, safe)

Decompose and analyse the expression for the printer.