Tangent(Tangent(正切函数))¶
Supported in: Batch, Faster, Streaming
Takes the tangent of an angle.
Expression categories: Numeric
Declared arguments¶
- Angle unit: Angle unit which is either degrees or radians.
Enum\ - Angle value: Angle value in either radians or degrees.
Expression\
Output type: Double
Examples¶
Example 1: Base case¶
Argument values:
- Angle unit:
degrees - Angle value:
angle
| angle | Output |
|---|---|
| 0.0 | 0.0 |
| 90.0 | 1.633123935319537E16 |
| 180.0 | 0.0 |
Example 2: Null case¶
Argument values:
- Angle unit:
radians - Angle value: null
Output: null
中文翻译¶
Tangent(正切函数)¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
计算角度的正切值。
表达式类别: 数值型
声明的参数¶
- 角度单位(Angle unit): 角度单位,可选度或弧度。
枚举类型\ - 角度值(Angle value): 以弧度或度表示的角度值。
表达式\
输出类型: Double(双精度浮点数)
示例¶
示例 1:基础案例¶
参数值:
- 角度单位:
degrees - 角度值:
angle
| angle | 输出 |
|---|---|
| 0.0 | 0.0 |
| 90.0 | 1.633123935319537E16 |
| 180.0 | 0.0 |
示例 2:空值案例¶
参数值:
- 角度单位:
radians - 角度值: null
输出: null