* + - / ** = == > < >= <= for def ... return if ... elif ... else while range abs print max, min lambda type raise math: pi factorial numpy: array (dtype=float) v.shape v.transpose zeros, ones, empty, eye sqrt sin, cos, tan exp log linspace, logspace dot sum diag reshape cross numpy.linalg: det norm solve inv cond scipy.linalg: eig lu scipy.sparse: eye matplotlib.pyplot: plot title xlabel, ylabel grid legend semilogx, semilogy, loglog sys: float_info sympy: Symbol sin, cos, ... f.diff integrate f.subs taylor