def arccot(val):
 if (numpy.real(val) < 0):
  return (((- numpy.pi) / 2) - numpy.arctan(val))
 else:
  return ((numpy.pi / 2) - numpy.arctan(val))

def arccot ( val ) : if ( numpy . real ( val ) < 0 ) : return ( ( ( - numpy . pi ) / 2 ) - numpy . arctan ( val ) ) else : return ( ( numpy . pi / 2 ) - numpy . arctan ( val ) )
inverse cotangent .