series_less_equals()series_less_equals()

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

语法Syntax

series_less_equals (Series1, Series2)series_less_equals (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 or equal 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_equals_s2 = series_less_equals(s1, s2)
s1s1 s2s2 s1_less_equals_s2s1_less_equals_s2
[1,2,4][1,2,4] [4,2,1][4,2,1] [true,true,false][true,true,false]

另请参阅See also

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