simplify
¶
simplify(expr) — pull scalars, apply vector identities, eliminate zeros, combine numeric constants. full_simplify(expr) — expand once, then loop simplify until convergence.
full_simplify(expr, max_iter=10)
¶
Expand once, then loop simplify until convergence.
Parameters¶
max_iter : int Safety cap on the number of passes (default 10).
Source code in geomech/core/transformations/simplify.py
simplify(expr)
¶
Pull scalars, apply vector identities, then eliminate zeros and combine numeric constants — single call does everything.