I need to match print ads sizes from various publications with a standardized list of ratios (e.g. 2:1, 1:1, 2:7...) plus a bunch of other metrics. So a rect of 1543@331 gives a float value that has can be best approximated by a continued fraction approach. But there are other complications. Now I am using a lookup table and try to match with just a distance. I am using DataFrame and hopefully more Roassal for all of this. Pharo can be a good tool to manage the object model of this problem space. I am prototyping something. We'll see how far I can get. Phil On Tue, Sep 19, 2017 at 9:30 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Hi phil
just out of sane curiosity do you have a pointer on ratio and rectangle and continued fraction?
Stef
On Mon, Sep 18, 2017 at 12:40 PM, werner kassens <wkassens@libello.com> wrote:
Hi Phil, yes, in polymath it is the the object PMContinuedFraction. werner
On 09/17/2017 08:38 PM, phil@highoctane.be wrote:
Ah, I see there is something in the Numerical Methods book. :rolleyes:
Phil
On Sun, Sep 17, 2017 at 8:30 PM, phil@highoctane.be <phil@highoctane.be> wrote:
Do we have anything related to continued fractions in Pharo?
https://en.wikipedia.org/wiki/Continued_fraction
I need that to match rectanges to aspect ratios etc.
TIA Phil