From: Robert Dober Date: 2007-07-01T19:55:52+09:00 Subject: Re: simple math operations on arrays On 7/1/07, baptiste Augui� wrote: Sorry if I have overlooked other issues but > > longAxis=aspectRatio.collect{ |x| radius.to_f*((x.to_f)**(-2/3)) } -2/3 is not what you expect it to be, I'd say, cause you'd probably written -1 than or just divided radius by x. radius and x seem to be floats already, you might save some keystrokes there ;) HTH Robert -- I always knew that one day Smalltalk would replace Java. I just didn't know it would be called Ruby -- Kent Beck