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

2019-06-18 19:57发布

问题:

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?