You Are Here:

Community: Developer Discussion Boards

#1 Old complex module - 2008-02-09, 22:06

Join Date: Feb 2008
Posts: 2
hicham7610
Offline
Registered User
please I want module of complex number
Reply With Quote

#2 Old Re: complex module - 2008-02-10, 19:37

Join Date: Mar 2003
Posts: 125
Location: UK
aya42
Offline
Regular Contributor
Quote:
Originally Posted by hicham7610 View Post
please I want module of complex number
Support for complex numbers is built in to the Python core.

Use the suffix 'j' to denote the complex part, where 1j is equal to the square root of -1. For example:

Code:
>>> 1j * 1j
(-1+0j)
Reply With Quote

#3 Old Re: complex module - 2008-02-10, 21:32

Join Date: Feb 2008
Posts: 2
hicham7610
Offline
Registered User
thanks for help
Reply With Quote

#4 Old Re: complex module - 2008-02-11, 15:44

Join Date: Aug 2006
Posts: 28
goetz_s
Offline
Registered User
However, PyS60 does not seem to contain the cmath module, so only very basic operations with complex numbers are possible.

Maybe including cmath into the standard distribution of PyS60 would be a good idea?

- Goetz
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
ImportError: No module named _appuifw ernesto.ferrari Mobile Web Server 9 2008-04-18 06:36
(question)about dir_iter module psychologe Python 1 2008-01-25 11:47
Carbide.j 1.5 and Netbeans 5.5 beta 2 ovjo12 Mobile Java Tools & SDKs 5 2007-06-11 06:43
SMS I/O Control Application via Evaluation Module alokghosh Nokia M2M 2 2003-06-18 18:05
GPS Module LAM-1 ZeZinh0 PC Suite API and PC Connectivity SDK 1 2003-03-06 10:44

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia