POV-Ray : Newsgroups : povray.off-topic : Math questions : Re: Math questions Server Time
29 Jul 2024 02:21:00 EDT (-0400)
  Re: Math questions  
From: Orchid Win7 v1
Date: 15 Jul 2013 13:19:42
Message: <51e42f2e$1@news.povray.org>
On 15/07/2013 10:47 AM, Warp wrote:
> Orchid Win7 v1<voi### [at] devnull>  wrote:
>> Given the 2D coordinates of a point on the unit square, you can
>> interleave their decimal digits, which always yields a unique point on
>> the unit line. For example,
>
>>     0.3425
>>     0.2183 ->  0. 32 41 28 53
>
> One problem I see with this is that some real numbers can have more than
> one decimal representation.

Yes. However, a real has at most two decimal expansions - one ending 
with a recurring 9, the other with a recurring 0. If you insert a rule 
that the latter is always the one to be chosen, the representation 
becomes unique.

This allows you to unambiguously transform any 2D point into a 1D point. 
It is unclear to me whether it solves the reverse transformation...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.