parameters: (z, p)
docstring: Return relative degree of transfer function from zeros and poles
docstring_summary: Return relative degree of transfer function from zeros and poles
docstring_tokens: Return relative degree of transfer function from zeros and poles
function: def _relative_degree(z, p):
      """
      Return relative degree of transfer function from zeros and poles
      """
      degree = len(p) - len(z)
      if degree < 0:
          raise ValueError("Improper transfer function. "
                           "Must have at least as many poles as zeros.")
      else:
          return degree
function_tokens: def _relative_degree ( z , p ) : degree = len ( p ) - len ( z ) if degree < 0 : raise ValueError ( "Improper transfer function. " "Must have at least as many poles as zeros." ) else : return degree