ArcTan (FPScript)

21.09.2021

Calculates the inverse tangent of the argument.

Syntax

ArcTan(Number)

 

The syntax of the ArcTan function consists of the following parts:

Part

Description

Number

The tangent of the angle you want to calculate.

All data structures are allowed. All numeric data types are permitted.

Remarks

The result has the same structure as the argument Number. The calculation is done element by element where appropriate.

The result has the unit rad, if Number has a unit. Otherwise, it has no unit.

The real inverse tangent function is calculated for a real argument. The result is of the 64-bit floating point value data type. The following illustration shows the course of the function in this interval:

If Number is complex, then the complex inverse tangent function is calculated, which can be defined as follows:

i / 2 * (Log(1 - i * Number) - Log(1 + i * Number)) with the imaginary unit i = (0, 1).

The result is of the complex 64-bit floating point value data type. The following illustration shows the course of the absolute value of the function:

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

ArcTan(0)

Results in 0.

Dim x
x = Series(-10, 10, 0.1)
Signal(ArcTan(x), x)
 

Calculates a signal with the course of the curve in the interval [-10, 10].

See Also

ArcCos Function

ArcSin Function

ArcTan2 Function

Cos Function

CosHyp Function

Sin Function

SinHyp Function

Tan Function

TanHyp Function

Share article or send as email:

You might be interested in these articles