跳转至

Sine(正弦函数 (Sine))

Supported in: Batch, Faster, Streaming

Takes the sine 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.0
180.0 0.0

Example 2: Null case

Argument values:

  • Angle unit: radians
  • Angle value: null

Output: null



中文翻译


正弦函数 (Sine)

支持:批处理 (Batch)、快速处理 (Faster)、流处理 (Streaming)

计算角度的正弦值。

表达式类别: 数值 (Numeric)

声明的参数

  • 角度单位 (Angle unit): 角度单位,可选度或弧度。
    枚举\<度 (Degrees), 弧度 (Radians)>
  • 角度值 (Angle value): 以弧度或度表示的角度值。
    表达式\<确定数值 (DefiniteNumeric)>

输出类型: 双精度浮点数 (Double)

示例

示例 1:基础情况

参数值:

  • 角度单位: 度 (degrees)
  • 角度值: 角度 (angle)
角度 (angle) 输出 (Output)
0.0 0.0
90.0 1.0
180.0 0.0

示例 2:空值情况

参数值:

  • 角度单位: 弧度 (radians)
  • 角度值: 空值 (null)

输出: 空值 (null)