substitute_expression
Perform symbolic substitution in mathematical expressions by replacing a specified variable with another expression. Returns the resulting expression key for further use.
Instructions
Substitutes a variable in an expression with another expression using SymPy's subs method.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
expr_key | Yes | ||
replacement_expr_key | Yes | ||
var_name | Yes |