Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #56578 > unrolled thread

Re: Complex literals (was Re: I am never going to complain about Python again)

Started byDavid <bouncingcats@gmail.com>
First post2013-10-11 01:34 +1100
Last post2013-10-10 20:16 -0400
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Complex literals (was Re: I am never going to complain about Python again) David <bouncingcats@gmail.com> - 2013-10-11 01:34 +1100
    Re: Complex literals (was Re: I am never going to complain about Python again) rusi <rustompmody@gmail.com> - 2013-10-10 07:52 -0700
      Re: Complex literals (was Re: I am never going to complain about Python again) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-10 20:16 -0400

#56578 — Re: Complex literals (was Re: I am never going to complain about Python again)

FromDavid <bouncingcats@gmail.com>
Date2013-10-11 01:34 +1100
SubjectRe: Complex literals (was Re: I am never going to complain about Python again)
Message-ID<mailman.946.1381415643.18130.python-list@python.org>
On 11 October 2013 00:25, Chris Angelico <rosuav@gmail.com> wrote:
> On Fri, Oct 11, 2013 at 12:09 AM, Roy Smith <roy@panix.com> wrote:
>
> I've never been well-up on complex numbers; can you elaborate on this,
> please? All I know is that I was taught that the square root of -1 is
> called i, and that hypercomplex numbers include i, j, k, and maybe
> even other terms, and I never understood where j comes from. Why is
> Python better for using j?

Pretty well covered here: http://en.wikipedia.org/wiki/Complex_number

Plus, the simple overview is that they are useful because they are
two-dimensional, and so can be used to simply calculations involving
two-dimensional quantities. Very useful for electrical engineers who
use them to represent the two dimensions of amplitude,phase in
Fourier or Laplace circuit analysis. As others have pointed out, they
use the symbol j for the square root of -1 to avoid confusion with the
symbol i used for current.

I have never heard the term "hypercomplex" numbers. I guess you
are referring to vectors with more dimensions than two. A three
dimensional vector is described as having components in i,j,k
directions. Although this is very like an extension of complex numbers
into higher dimensions, the symbols used (i,j,k) are not the same
as the i or j used for complex numbers. Instead they represent
orthogonal unit vectors; which are similar in concept (because
real and imaginary components of complex numbers are orthogonal),
but not the *same*. So don't think of the i *or* j of a complex number
being related to the i *and* j etc components of a vector.

These are useful for example to describe three dimensional space, and
scalar or vector functions in that space.

[toc] | [next] | [standalone]


#56581

Fromrusi <rustompmody@gmail.com>
Date2013-10-10 07:52 -0700
Message-ID<eea3239c-e480-4b88-9bd9-5281f0e9e4fa@googlegroups.com>
In reply to#56578
On Thursday, October 10, 2013 8:04:00 PM UTC+5:30, David wrote:
> I have never heard the term "hypercomplex" numbers. I guess you
> are referring to vectors with more dimensions than two. A three

A generalization of quaternions :
http://en.wikipedia.org/wiki/Hypercomplex_number
http://en.wikipedia.org/wiki/Quaternion

And now where's the policeman out to catch the OT threads??
[Ducks the eggs and runs...]

[toc] | [prev] | [next] | [standalone]


#56626

FromDennis Lee Bieber <wlfraed@ix.netcom.com>
Date2013-10-10 20:16 -0400
Message-ID<mailman.973.1381450805.18130.python-list@python.org>
In reply to#56581
On Thu, 10 Oct 2013 07:52:32 -0700 (PDT), rusi <rustompmody@gmail.com>
declaimed the following:

>[Ducks the eggs and runs...]

	Ugh... runny duck eggs don't make a breakfast...
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web