solve_linear_system
Solves systems of linear equations with specified variables and domains, returning results as LaTeX-formatted solution sets. Powered by SymPy’s symbolic algebra capabilities.
Instructions
Solves a system of linear equations using SymPy's linsolve.
Args:
expr_keys: The keys of the expressions (previously introduced) forming the system.
var_names: The names of the variables to solve for.
domain: The domain to solve in (Domain.COMPLEX, Domain.REAL, etc.). Defaults to Domain.COMPLEX.
Returns:
A LaTeX string representing the solution set. Returns an error message string if issues occur.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | complex | |
| expr_keys | Yes | ||
| var_names | Yes |