Functions after SymPy's sympy.codegen.numpy_nodes and scipy_nodes:
logaddexp(a, b) is log(exp(a) + exp(b)), logaddexp2(a, b) is
log2(2^a + 2^b), amin() and amax() are array reductions,
np_maximum() and np_minimum() are the elementwise maximum and minimum
(SymPy's maximum and minimum), cosm1(x) is cos(x) - 1 and
powm1(x, y) is x^y - 1. The Python printers print them as the NumPy
and SciPy calls; rewrite() turns them into elementary functions.