Python: fastest way to check in which interval number is in

后端 未结 0 935
谎友^
谎友^ 2020-12-10 23:07

Suppose I have split the interval [0, 1] into a series of smaller intervals [0, 0.2), [0.2, 0.4), [0.4, 0.9), [0.9, 1.0]. Now I sample a value

相关标签:
回答
  • 消灭零回复
提交回复
热议问题