tags:

views:

104

answers:

3

Hi, 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?

A: 

How about Normal Range?

dirkgently
I used to use the term normal, but it is technically incorrect. Here's the definition of a one dimensional normal: http://en.wikipedia.org/wiki/Normal_number. My idea of normal came from vector maths, but surface normals describe the tangent to a plane, it's a side effect that they are unit length
Brian Heylin
+1  A: 

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

leppie
Unit interval is proper
SurDin
I like Unit Range as (In my mind) it is clearer. Interval I find to be used predominately by mathematicians and also is more used by me in relation to time? @SurDim can you post your comment as an answer :)
Brian Heylin
What about frequency perhaps?
leppie
@leppie I'm more talking about the generic range 0->1 rather than anything specific implementation :)
Brian Heylin
+6  A: 

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.

Mark Lavin
Thanks Mark, exactly what I was looking for
Brian Heylin