×

Discussion Board

Results 1 to 4 of 4

Thread: complex module

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    2

    complex module

    please I want module of complex number

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    UK
    Posts
    125

    Re: complex module

    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)

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    2

    Re: complex module

    thanks for help

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    28

    Re: complex module

    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

Similar Threads

  1. ImportError: No module named _appuifw
    By ernesto.ferrari in forum Mobile Web Server
    Replies: 9
    Last Post: 2008-04-18, 05:36
  2. (question)about dir_iter module
    By psychologe in forum Symbian
    Replies: 1
    Last Post: 2008-01-25, 10:47
  3. Carbide.j 1.5 and Netbeans 5.5 beta 2
    By ovjo12 in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2007-06-11, 05:43
  4. SMS I/O Control Application via Evaluation Module
    By alokghosh in forum Nokia M2M
    Replies: 2
    Last Post: 2003-06-18, 17:05
  5. GPS Module LAM-1
    By ZeZinh0 in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 09:44

Posting Permissions

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