|
发表于 2024-7-25 10:09:05
|
显示全部楼层
应该是的。
下面是从 IEEE Std 1800™-2023 Section 19.5.1 里面复制的,希望能帮到你。
bins fixed [4] = {[1:10], 1, 4, 7};
In the above example, number of values = 13 and number of bins = 4; therefore B = 13/4 = 3. The 13 values
are distributed as follows: <1,2,3>, <4,5,6>, <7,8,9>, <10,1,4,7>.
If the number of bins exceeds the number of values, then some of the bins will be empty. For example:
bins fixed [5] = {1, 4, 7};
In the above example, number of values = 3 and number of bins = 5; therefore B = 1. The 3 values are
distributed as follows: <1>, <4>, <7>, < >, < >. Note the empty fourth and fifth bins.
|
|