<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Clever use of Python&#8217;s complex number type</title>
	<atom:link href="http://bob.pythonmac.org/archives/2005/01/29/clever-use-of-pythons-complex-numbers/feed/" rel="self" type="application/rss+xml" />
	<link>http://bob.pythonmac.org/archives/2005/01/29/clever-use-of-pythons-complex-numbers/</link>
	<description>Bob's Rants</description>
	<pubDate>Thu, 24 Jul 2008 01:18:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: hunterp</title>
		<link>http://bob.pythonmac.org/archives/2005/01/29/clever-use-of-pythons-complex-numbers/#comment-78</link>
		<dc:creator>hunterp</dc:creator>
		<pubDate>Mon, 31 Jan 2005 22:42:09 +0000</pubDate>
		<guid isPermaLink="false">/?p=94#comment-78</guid>
		<description>i looked at
check “Manipulate simple polynomials in Python” by Rick Muller
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362193

and its sort of what i mean. but maybe he didnt know the eval trick used above  since half of the code is dedicated to parsing. I will point to this discussion on there.</description>
		<content:encoded><![CDATA[<p>i looked at<br />
check “Manipulate simple polynomials in Python” by Rick Muller<br />
<a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362193" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362193</a></p>
<p>and its sort of what i mean. but maybe he didnt know the eval trick used above  since half of the code is dedicated to parsing. I will point to this discussion on there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxim</title>
		<link>http://bob.pythonmac.org/archives/2005/01/29/clever-use-of-pythons-complex-numbers/#comment-77</link>
		<dc:creator>maxim</dc:creator>
		<pubDate>Mon, 31 Jan 2005 22:07:33 +0000</pubDate>
		<guid isPermaLink="false">/?p=94#comment-77</guid>
		<description>&gt; Has anything like this been done ?

check "Manipulate simple polynomials in Python" by Rick Muller
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362193</description>
		<content:encoded><![CDATA[<p>> Has anything like this been done ?</p>
<p>check &#8220;Manipulate simple polynomials in Python&#8221; by Rick Muller<br />
<a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362193" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362193</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hunterp</title>
		<link>http://bob.pythonmac.org/archives/2005/01/29/clever-use-of-pythons-complex-numbers/#comment-76</link>
		<dc:creator>hunterp</dc:creator>
		<pubDate>Mon, 31 Jan 2005 18:10:01 +0000</pubDate>
		<guid isPermaLink="false">/?p=94#comment-76</guid>
		<description>I see the trick in this example to be the use of eval's  third argument. 

So just create a simple class to deal with __pow__ __mul__ __div__ __sum__ __sub__  and you could use eval to reduce any equation into condensed form.

Has anything like this been done ? It seems trivial</description>
		<content:encoded><![CDATA[<p>I see the trick in this example to be the use of eval&#8217;s  third argument. </p>
<p>So just create a simple class to deal with __pow__ __mul__ __div__ __sum__ __sub__  and you could use eval to reduce any equation into condensed form.</p>
<p>Has anything like this been done ? It seems trivial</p>
]]></content:encoded>
	</item>
</channel>
</rss>
