About 417,000 results
Open links in new tab
  1. numpy.angleNumPy v2.2 Manual

    numpy.angle# numpy. angle (z, deg = False) [source] # Return the angle of the complex argument. Parameters: z array_like. A complex number or sequence of complex numbers. deg bool, optional. Return angle in degrees if True, radians if …

  2. Python – Get the Phase Angle of a Complex Number

    In this tutorial, we will look at how to get the phase (or the angle) of a complex number in Python with the help of some examples. The phase (or angle) of a complex number is defined as the angle the complex number vector makes with the real axis in the counter-clockwise direction.

  3. numpy.angle() in Python - GeeksforGeeks

    Nov 28, 2018 · numpy.angle() function is used when we want to compute the angle of the complex argument. A complex number is represented by “ x + yi ” where x and y are real number and i= (-1)^1/2 . The angle is calculated by the formula tan-1(x/y).

  4. cmath — Mathematical functions for complex numbers - Python

    2 days ago · This module provides access to mathematical functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments.

  5. NumPy angle – Returns the angle of a Complex argument

    Nov 28, 2022 · numpy.angle() is one of the mathematical functions of the NumPy library that returns the angle of the Complex Number. Also read: NumPy Arctan – A Complete Guide Now, let us understand the syntax of the function.

  6. NumPy angle() - Find Phase of Complex Numbers in Array

    The numpy.angle() function returns the phase (angle) of a complex number in radians (default) or degrees.

  7. Return Angle of Complex Argument in Python - Online Tutorials …

    Feb 28, 2022 · To return the angle of the complex argument, use the numpy.angle() method in Python. The method returns the counterclockwise angle from the positive real axis on the complex plane in the range (-pi, pi], with dtype as numpy.float64.

  8. Python NumPy angle Function - Java Guides

    The angle function in Python's NumPy library allows you to compute the angle (or phase) of complex numbers in an array. This function is particularly useful in numerical computations where phase information of complex numbers is necessary.

  9. Python Math: Get the length and angle of a complex number

    Apr 2, 2025 · Write a Python program to calculate and print the magnitude (absolute value) and angle (in radians) of a given complex number using math.atan2 (). Write a Python function that accepts a complex number and returns its polar coordinates (length and angle) as a tuple.

  10. numpy.angle — NumPy v1.17 Manual - SciPy.org

    Jul 26, 2019 · The counterclockwise angle from the positive real axis on the complex plane in the range (-pi, pi], with dtype as numpy.float64. This function works on subclasses of ndarray like ma.array.

  11. Some results have been removed
Refresh