arctan_rad

Description

Computes the arc tangent of the input. The result is a float64, specified in degrees, in the range [-$\pi$/2, $\pi$/2]

Arguments

  1. input (required) Ratio to find the arc tangent of, float64.

Return type

float64

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

arctan_rad(input)

Argument

Type

Optional

Repeatable

Restrictions

input

float64

no

no

none

Examples

make_col arctan:arctan_rad(ratio)

Create a column ‘arctan’ with the result of the arc tangent of column ‘ratio’
The resulting column will be in radians.

Given the below column ratio, arctan_rad produces the below column arctan.

ratio

arctan

-∞

-π / 2

-√3

-π / 3

-1

-π / 4

0

0

1

π / 4

-√3

π / 3

π / 2