linear_coeffs(eq, ...) returns the coefficients of the symbols ... in
the linear expression eq followed by the constant term, as SymPy's
linear_coeffs(); with dict = TRUE it returns a dictionary keyed by the
symbols present, with key 1 for the constant. Nonlinear terms raise a
NonlinearError.