Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.math > #329275 > unrolled thread
| Started by | "Chris M. Thomasson" <nospam@nospam.nospam> |
|---|---|
| First post | 2016-03-01 13:55 -0800 |
| Last post | 2016-03-02 15:22 +0000 |
| Articles | 10 — 5 participants |
Back to article view | Back to sci.math
Cantor Packing... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-03-01 13:55 -0800
Re: Cantor Packing... Peter Percival <peterxpercival@hotmail.com> - 2016-03-01 22:14 +0000
Re: Cantor Packing... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-03-01 14:32 -0800
Re: Cantor Packing... Peter Percival <peterxpercival@hotmail.com> - 2016-03-01 22:35 +0000
Re: Cantor Packing... Peter Percival <peterxpercival@hotmail.com> - 2016-03-01 22:36 +0000
Re: Cantor Packing... "Ross A. Finlayson" <ross.finlayson@gmail.com> - 2016-03-01 18:43 -0800
Re: Cantor Packing... David Petry <davidlpetry@gmail.com> - 2016-03-01 19:55 -0800
Re: Cantor Packing... Virgil <VIRGIL@VIRGIL.com> - 2016-03-02 00:21 -0700
Re: Cantor Packing... "Chris M. Thomasson" <nospam@nospam.nospam> - 2016-03-02 11:48 -0800
Re: Cantor Packing... Peter Percival <peterxpercival@hotmail.com> - 2016-03-02 15:22 +0000
| From | "Chris M. Thomasson" <nospam@nospam.nospam> |
|---|---|
| Date | 2016-03-01 13:55 -0800 |
| Subject | Cantor Packing... |
| Message-ID | <nb5343$1lm7$1@gioia.aioe.org> |
Is it possible for the Cantor Packing function to be used for decimal numbers, perhaps not rational? The inverse must get back something “close” to the “original” points. Also, the precision of the results can be limited to 8-10 decimal places: https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairing_function I am think of using the convergents of continued fractal to get a pair of naturals to represent/estimate a floating point: http://mathworld.wolfram.com/Convergent.html
[toc] | [next] | [standalone]
| From | Peter Percival <peterxpercival@hotmail.com> |
|---|---|
| Date | 2016-03-01 22:14 +0000 |
| Message-ID | <nb548v$43m$1@news.albasani.net> |
| In reply to | #329275 |
Chris M. Thomasson wrote: > Is it possible for the Cantor Packing function to be used Packing or pairing? I don't know what the Cantor Packing function is. > for decimal numbers, perhaps not rational? The inverse must > get back something “close” to the “original” points. > > Also, the precision of the results can be limited to 8-10 > decimal places: > > https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairing_function > > I am think of using the convergents of continued fractal to > get a pair of naturals to represent/estimate a floating point: > > http://mathworld.wolfram.com/Convergent.html
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <nospam@nospam.nospam> |
|---|---|
| Date | 2016-03-01 14:32 -0800 |
| Message-ID | <nb559k$1q08$1@gioia.aioe.org> |
| In reply to | #329276 |
> "Peter Percival" wrote in message news:nb548v$43m$1@news.albasani.net... > > Chris M. Thomasson wrote: > > Is it possible for the Cantor Packing function to be used > Packing or pairing? I don't know what the Cantor Packing function is. YIKES! Damn typo! Its pairing, sorry about that non-sense. ;^o
[toc] | [prev] | [next] | [standalone]
| From | Peter Percival <peterxpercival@hotmail.com> |
|---|---|
| Date | 2016-03-01 22:35 +0000 |
| Message-ID | <nb55f6$60n$1@news.albasani.net> |
| In reply to | #329277 |
Chris M. Thomasson wrote: >> "Peter Percival" wrote in message news:nb548v$43m$1@news.albasani.net... > >> > Chris M. Thomasson wrote: >> > Is it possible for the Cantor Packing function to be used > >> Packing or pairing? I don't know what the Cantor Packing function is. > > YIKES! > > Damn typo! Its pairing, sorry about that non-sense. > > ;^o So you want an invertible map R^2 -> R? For invertible maps [0,1]^2 -> R see space filling curves.
[toc] | [prev] | [next] | [standalone]
| From | Peter Percival <peterxpercival@hotmail.com> |
|---|---|
| Date | 2016-03-01 22:36 +0000 |
| Message-ID | <nb55hl$60n$2@news.albasani.net> |
| In reply to | #329278 |
Peter Percival wrote: > Chris M. Thomasson wrote: >>> "Peter Percival" wrote in message >>> news:nb548v$43m$1@news.albasani.net... >> >>> > Chris M. Thomasson wrote: >>> > Is it possible for the Cantor Packing function to be used >> >>> Packing or pairing? I don't know what the Cantor Packing function is. >> >> YIKES! >> >> Damn typo! Its pairing, sorry about that non-sense. >> >> ;^o > So you want an invertible map R^2 -> R? > > For invertible maps [0,1]^2 -> R see space filling curves. > Sorry, meant [0,1]^2 -> [0,1]
[toc] | [prev] | [next] | [standalone]
| From | "Ross A. Finlayson" <ross.finlayson@gmail.com> |
|---|---|
| Date | 2016-03-01 18:43 -0800 |
| Message-ID | <7eae51c5-7d11-412d-b024-5a7c18d8767d@googlegroups.com> |
| In reply to | #329279 |
On Tuesday, March 1, 2016 at 2:36:42 PM UTC-8, Peter Percival wrote: > Peter Percival wrote: > > Chris M. Thomasson wrote: > >>> "Peter Percival" wrote in message > >>> news:nb548v$43m$1@news.albasani.net... > >> > >>> > Chris M. Thomasson wrote: > >>> > Is it possible for the Cantor Packing function to be used > >> > >>> Packing or pairing? I don't know what the Cantor Packing function is. > >> > >> YIKES! > >> > >> Damn typo! Its pairing, sorry about that non-sense. > >> > >> ;^o > > So you want an invertible map R^2 -> R? > > > > For invertible maps [0,1]^2 -> R see space filling curves. > > > Sorry, meant [0,1]^2 -> [0,1] See "spiral space-filling curve". That the N -> N x N mapping is quadratic, or of the square in terms, seems to fit well with the asymptotic bounds to where the mapping basically fills in a triangle, of the square. About the spiral space-filling curve, eg [0,1] <-> (x^2+y^2)<1, like [0,1] <-> x^2<1, or for that matter N -> [0,1] or N -> (x^2+y^2)<1, "drawing" the curve that way is uniquely how it can so be. Now if you'll excuse me I'll be gathering my pots and pans to go banging them in the streets.
[toc] | [prev] | [next] | [standalone]
| From | David Petry <davidlpetry@gmail.com> |
|---|---|
| Date | 2016-03-01 19:55 -0800 |
| Message-ID | <a6a3fe16-b62b-4ebc-b73f-b2869344f9e1@googlegroups.com> |
| In reply to | #329275 |
On Tuesday, March 1, 2016 at 1:55:31 PM UTC-8, Chris M. Thomasson wrote: > Is it possible for the Cantor Packing function to be used > for decimal numbers, perhaps not rational? The inverse must > get back something "close" to the "original" points. > > Also, the precision of the results can be limited to 8-10 > decimal places: > > https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairing_function > > I am think of using the convergents of continued fractal to > get a pair of naturals to represent/estimate a floating point: > > http://mathworld.wolfram.com/Convergent.html It's not clear to me what you're asking for, but why wouldn't interleaving the digits do what you want to do. example e = 2.71828 pi = 3.14159 interleave( e, pi) = 23.7114812589 Since you mentioned continued fractions(?), maybe you could interleave the terms of the continued fractions, example A = [1; 2, 3, 4, 5], B = [9; 8, 7, 6, 5] interleave( A, B) = [1; 9, 2, 8, 3, 7, 4, 6, 5, 5]
[toc] | [prev] | [next] | [standalone]
| From | Virgil <VIRGIL@VIRGIL.com> |
|---|---|
| Date | 2016-03-02 00:21 -0700 |
| Message-ID | <VIRGIL-E5D5DB.00212102032016@news.giganews.com> |
| In reply to | #329291 |
On Tuesday, March 1, 2016 at 1:55:31 PM UTC-8, Chris M. Thomasson wrote: > Is it possible for the Cantor Packing function to be used > for decimal numbers, perhaps not rational? The inverse must > get back something "close" to the "original" points. What is your "Cantor Packing function"? Google does not find any references to it! Did you perhaps mean the "Cantor PAIRing function" referred to at: > https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairing_function ? -- Virgil "Mit der Dummheit kampfen Gotter selbst vergebens." (Schiller)
[toc] | [prev] | [next] | [standalone]
| From | "Chris M. Thomasson" <nospam@nospam.nospam> |
|---|---|
| Date | 2016-03-02 11:48 -0800 |
| Message-ID | <nb7g2k$1ku1$1@gioia.aioe.org> |
| In reply to | #329296 |
> "Virgil" wrote in message > news:VIRGIL-E5D5DB.00212102032016@news.giganews.com... > > On Tuesday, March 1, 2016 at 1:55:31 PM UTC-8, Chris M. Thomasson wrote: > > Is it possible for the Cantor Packing function to be used > > for decimal numbers, perhaps not rational? The inverse must > > get back something "close" to the "original" points. > What is your "Cantor Packing function"? > Google does not find any references to it! > Did you perhaps mean the "Cantor PAIRing function" referred to at: > https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairing_function > ? Yes, I mean the pairing function. I made a damn typo, and it is a _very_ nasty one indeed. Sorry about that. WRT convergents of continued fractions, I can easily create a pair of natural numbers to represent a precision of, say an irrational number. FWIW, here is a simple example: 208341 / 66317 = 3.141592653 at 9 digits of decimal precision. Cantor pairing works well with the rational unsigned integer approximations. :^)
[toc] | [prev] | [next] | [standalone]
| From | Peter Percival <peterxpercival@hotmail.com> |
|---|---|
| Date | 2016-03-02 15:22 +0000 |
| Message-ID | <nb70f5$i66$1@news.albasani.net> |
| In reply to | #329275 |
Chris M. Thomasson wrote: > Is it possible for the Cantor Packing function to be used > for decimal numbers, perhaps not rational? The inverse must > get back something “close” to the “original” points. My apologies for my earlier replies to your question which were very flabby. There is of course a bijection R^2 -> R, digit interleaving is one algorithm. > > Also, the precision of the results can be limited to 8-10 > decimal places: > > https://en.wikipedia.org/wiki/Pairing_function#Cantor_pairing_function > > I am think of using the convergents of continued fractal to > get a pair of naturals to represent/estimate a floating point: > > http://mathworld.wolfram.com/Convergent.html
[toc] | [prev] | [standalone]
Back to top | Article view | sci.math
csiph-web