# Complex.Atan(Complex) Méthode

## Définition

Retourne l'angle qui correspond à la tangente d'arc du nombre complexe spécifié.Returns the angle that is the arc tangent of the specified complex number.

``````public:
static System::Numerics::Complex Atan(System::Numerics::Complex value);``````
``public static System.Numerics.Complex Atan (System.Numerics.Complex value);``
``static member Atan : System.Numerics.Complex -> System.Numerics.Complex``
``Public Shared Function Atan (value As Complex) As Complex``

#### Paramètres

value
Complex

Nombre complexe.A complex number.

#### Retours

Angle qui correspond à la tangente d'arc de `value`.The angle that is the arc tangent of `value`.

## Exemples

L’exemple suivant illustre la méthode Atan.The following example illustrates the Atan method. Elle indique que le passage de la valeur retournée par la méthode Atan à la méthode Tan retourne la valeur de Complex d’origine.It shows that passing the value returned by the Atan method to the Tan method returns the original Complex value.

``````using System;
using System.Numerics;

public class Example
{
public static void Main()
{
Complex[] values = { new Complex(2.5, 1.5),
new Complex(2.5, -1.5),
new Complex(-2.5, 1.5),
new Complex(-2.5, -1.5) };
foreach (Complex value in values)
Console.WriteLine("Tan(Atan({0})) = {1}",
value, Complex.Tan(Complex.Atan(value)));
}
}
// The example displays the following output:
//       Tan(Atan((2.5, 1.5))) = (2.5, 1.5)
//       Tan(Atan((2.5, -1.5))) = (2.5, -1.5)
//       Tan(Atan((-2.5, 1.5))) = (-2.5, 1.5)
//       Tan(Atan((-2.5, -1.5))) = (-2.5, -1.5)
``````
``````Imports System.Numerics

Module Example
Public Sub Main()
Dim values() As Complex = { New Complex(2.5, 1.5),
New Complex(2.5, -1.5),
New Complex(-2.5, 1.5),
New Complex(-2.5, -1.5) }
For Each value As Complex In values
Console.WriteLine("Tan(Atan({0})) = {1}",
value, Complex.Tan(Complex.Atan(value)))
Next
End Sub
End Module
' The example displays the following example:
'       Tan(Atan((2.5, 1.5))) = (2.5, 1.5)
'       Tan(Atan((2.5, -1.5))) = (2.5, -1.5)
'       Tan(Atan((-2.5, 1.5))) = (-2.5, 1.5)
'       Tan(Atan((-2.5, -1.5))) = (-2.5, -1.5)
``````

## Remarques

La méthode Atan pour les nombres complexes correspond à la méthode Math.Atan pour les nombres réels.The Atan method for complex numbers corresponds to the Math.Atan method for real numbers.

La méthode Atan utilise la formule suivante :The Atan method uses the following formula:

(ImaginaryOne/nouveau complexe (2.0, 0,0)) * (Log(One - ImaginaryOne *)-Log(valeurOne + ImaginaryOne *))(ImaginaryOne / new Complex(2.0, 0.0)) * (Log(One - ImaginaryOne * value) - Log(One + ImaginaryOne * value))