| Reply | « Previous Thread | Next Thread » |
|
please I want module of complex number
|
| hicham7610 |
| View Public Profile |
| Find all posts by hicham7610 |
|
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) |
|
thanks for help
|
| hicham7610 |
| View Public Profile |
| Find all posts by hicham7610 |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| 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 |