r0g wrote: > Alf P. Steinbach wrote: >> But maybe you're simply not able to understand the algorithm, trivial as >> it is. >> >> So, a Python implementation (note, this program takes some time to run!): >> >> >> <code filename="sinewave_from_squares.py"> >> # Generating a sine wave as a sum of square waves of various amplitudes > > > Pwned! Good one Alf :) > > I think those guys owe you an apology really, but I wouldn't hold your > breath! > Well as you can now see at least one of "those guys" doesn't mind admitting (and apologizing) when he is wrong.
regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/ Holden Web LLC http://www.holdenweb.com/ UPCOMING EVENTS: http://holdenweb.eventbrite.com/ -- http://mail.python.org/mailman/listinfo/python-list