Navigation: Scripting Reference Manual > Functions & Subroutines > Atn2

 

Atn2

 

Contact Us: fredsupport@photonengr.com

 

Description

Calculates the arctangent of y/x.

 

Syntax

aTan = Atn2 ( y, x )

 

Parameters

y As Double

The numerator of the value whose arctangent is calculated.

 

x As Double

The denominator of the value whose arctangent is calculated.

 

aTan (Double)

The arctangent of y/x, in radians. Lies within a -p to +p range, depending on the signs of y and x.

 

Remarks

This function calculates the arctangent of y/x and returns the value in radians.

 

See Also

Acos

Asin

BessJ0

BessJn

BessY0

BessYn

Cosh

Erff

Gaus

Gaus2

Sinc

Sinc2

Sinh

Somb

Somb2

Tanh

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC