Re:A word for a value between 0 and 1 (inclusive)
by rocqua on Friday September 04, 2020 @04:28AM
(#24372939)
Yeah, this is a pretty significant difference between a set and an element.
Re:A word for a value between 0 and 1 (inclusive)
by Tainnor on Friday September 04, 2020 @05:29AM
(#24373295)
The fix is simple: Put the type of the variable in the type name. Then "UnitInterval proportion" tells you everything you need to know.
Re:A word for a value between 0 and 1 (inclusive)
by pwdisswordfish4 on Friday September 04, 2020 @06:30AM
(#24373655)
Names of types usually refer to individual members thereof: number, integer, vector, string, list… A variable of a UnitInterval type would one that holds unit intervals. This is no fix.
Re:A word for a value between 0 and 1 (inclusive)
by peterhil on Friday September 04, 2020 @06:18AM
(#24373588)
I like this idea of using the type name to define the domain, and variable name to define the purpose.
Re:A word for a value between 0 and 1 (inclusive)
by tartrate on Friday September 04, 2020 @05:49AM
(#24373420)
That's three words though, and the SO OP asked for a single word.
Re:A word for a value between 0 and 1 (inclusive)
by hinkley on Friday September 04, 2020 @01:52PM
(#24377253)
"Belongs to the unit interval" is correct, but I like to think most of us have gotten enough exposure to cognitive science to know that the brain prefers to have a word or adjective for everything, and that's the problem here.
Also, Unit Interval is only an answer to this exact question, not a class of questions to which this one belongs. If the range was [0,5] then you couldn't even shorten it with Unit Interval.
(A unit interval is the set [0, 1], whereas the asker wants to know a name for an element of it.)