def diop_linear(eq, param=symbols('t', integer=True)):
 from sympy.core.function import count_ops
 (var, coeff, diop_type) = classify_diop(eq, _dict=False)
 if (diop_type == 'linear'):
  return _diop_linear(var, coeff, param)

def diop_linear ( eq , param = symbols ( 't' , integer = True ) ) : from sympy . core . function import count_ops ( var , coeff , diop_type ) = classify_diop ( eq , _dict = False ) if ( diop_type == 'linear' ) : return _diop_linear ( var , coeff , param )
solves linear diophantine equations .