Clear/Standard name for a Unit Range [0->1]

∥☆過路亽.° 提交于 2020-01-03 09:08:16

问题


I'm writing a Range class at the moment and I'm looking for a good name for the common range [0->1]. If it was a vector of length 1, I would call it a Unit vector. Is there a clear name to give this range/interval? Possibly a Unit Range?


回答1:


The closed range between [0,1] is typically called the closed unit interval. If you do not include the endpoints it would be the open unit interval.




回答2:


I would go for Interval, as it sounds better than 'Unit Range' :)




回答3:


How about Normal Range?



来源:https://stackoverflow.com/questions/672860/clear-standard-name-for-a-unit-range-0-1

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!