math-computation
Installation
SKILL.md
Mathematical Computation
Symbolic and numerical mathematics. Venv: source /Users/zhangmingda/clawd/.venv/bin/activate
Symbolic Math (SymPy)
from sympy import *
x, y, z, t = symbols('x y z t')
a, b, c = symbols('a b c', real=True)
n, k = symbols('n k', integer=True, positive=True)
# Solve equations
solve(x**2 - 5*x + 6, x) # [2, 3]
solve([x + y - 5, x - y - 1], [x, y]) # {x: 3, y: 2}