The Artima Developer Community
Sponsored Link

Python Buzz Forum
Another (ab)use for Python’s complex type

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bob Ippolito

Posts: 255
Nickname: etrepum
Registered: Nov, 2003

Bob Ippolito uses MacPython too much
Another (ab)use for Python’s complex type Posted: Jan 29, 2005 5:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Bob Ippolito.
Original Post: Another (ab)use for Python’s complex type
Feed Title: Bob's Rants
Feed URL: http://www.pycs.net/bob/weblog/rss.xml
Feed Description: from __future__ import *
Latest Python Buzz Posts
Latest Python Buzz Posts by Bob Ippolito
Latest Posts From Bob's Rants

Advertisement
.. -*- mode: rst -*- I'm not sure where I saw this first, but it can be convenient to use Python's complex type to represent 2D points or vectors. Adding two complex numbers together is the same operation as adding vectors, and the absolute value of a complex number is ...

Read: Another (ab)use for Python’s complex type

Topic: A trickle of documentation Previous Topic   Next Topic Topic: Googerr

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use