series_greater()series_greater()

计算两个数值序列输入的元素对应大于 (>) 逻辑运算。Calculates the element-wise greater (>) logic operation of two numeric series inputs.

语法Syntax

series_greater (Series1, Series2)series_greater (Series1, Series2)

参数Arguments

  • Series1、Series2:要按元素比较的输入数值数组。Series1, Series2 : Input numeric arrays to be element-wise compared. 所有参数都必须是动态数组。All arguments must be dynamic arrays.

返回Returns

布尔值的动态数组,包括在两个输入之间计算的元素对应大于逻辑运算。Dynamic array of booleans containing the calculated element-wise greater logic operation between the two inputs. 任何非数值元素或非现有元素(不同大小的数组)都会生成 null 元素值。Any non-numeric element or non-existing element (arrays of different sizes) yields a null element value.

示例Example

print s1 = dynamic([1,2,4]), s2 = dynamic([4,2,1])
| extend s1_greater_s2 = series_greater(s1, s2)
s1s1 s2s2 s1_greater_s2s1_greater_s2
[1,2,4][1,2,4] [4,2,1][4,2,1] [false,false,true][false,false,true]

请参阅See also

若要进行整个序列统计信息的比较,请参阅:For entire series statistics comparisons, see: