series_less()series_less()

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

语法Syntax

series_less (Series1, Series2)series_less (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 less 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_less_s2 = series_less(s1, s2)
s1s1 s2s2 s1_less_s2s1_less_s2
[1,2,4][1,2,4] [4,2,1][4,2,1] [true,false,false][true,false,false]

另请参阅See also

对于整个序列统计信息的比较,请参阅:For entire series statistics comparisons, see: