def diop_ternary_quadratic_normal(eq):
 (var, coeff, diop_type) = classify_diop(eq, _dict=False)
 if (diop_type == 'homogeneous_ternary_quadratic_normal'):
  return _diop_ternary_quadratic_normal(var, coeff)

def diop_ternary_quadratic_normal ( eq ) : ( var , coeff , diop_type ) = classify_diop ( eq , _dict = False ) if ( diop_type == 'homogeneous_ternary_quadratic_normal' ) : return _diop_ternary_quadratic_normal ( var , coeff )
solves the quadratic ternary diophantine equation .