-
August 5th, 2011, 04:54 AM
#1
Python
Ok, through a vodka induced 'slowness' I've decided this was the proper spot for this question.
I've started to learn PYTHON, at a very beginner stage, this is a completely self taught effort and I will be coming here alot for questions.
this is where I am:
Complex numbers are always represented as two floating point numbers, the real and imaginary part. To extract these parts from a complex number z, use z.real and z.imag.
>>> a=1.5+0.5j
>>> a.real
1.5
>>> a.imag
0.5
and I have to admit, Im so befuddled by this that Im not even sure of my exact question
Really what I need is a complete breakdown of this whole component, if anyone is up for it.
the .real command (is it considered a command or something else?) and the .imag 'command'.
Any and all input is welcome here, as one's two cents might make perfect sense, and anothers
might make just as much sense but the two together might make a
revelation.
And WTF is meant by 'floating point numbers'?
thanx all
Blessings
F
"In most gardens they make the beds too soft - so that the flowers are always asleep" - Tiger Lily
Similar Threads
-
By HTRegz in forum General Computer Discussions
Replies: 0
Last Post: September 19th, 2006, 07:28 PM
-
By HTRegz in forum The Security Tutorials Forum
Replies: 12
Last Post: January 28th, 2006, 08:02 PM
-
By HTRegz in forum Other Tutorials Forum
Replies: 20
Last Post: September 10th, 2005, 07:28 AM
-
By PacketThirst in forum Other Tutorials Forum
Replies: 2
Last Post: August 14th, 2005, 07:16 PM
-
By [pHA]XeNoCiDe in forum AntiOnline's General Chit Chat
Replies: 11
Last Post: July 8th, 2002, 07:56 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|