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


Groups > comp.lang.python > #56577

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

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.128
X-Spam-Level *
X-Spam-Evidence '*H*': 0.82; '*S*': 0.08; 'root': 0.05; 'subject:Python': 0.06; 'terms,': 0.09; 'python': 0.11; '-1.': 0.16; 'belongs': 0.16; 'engineering.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'think.': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'maybe': 0.34; 'subject: (': 0.35; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'even': 0.60; 'number,': 0.60; 'numbers': 0.61; 'real': 0.63; 'sum': 0.64; 'more': 0.64; 'electrical': 0.74; 'square': 0.74; 'upper': 0.74; '"j"': 0.84; 'edwards': 0.91; 'from.': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WtUSNTYeKSodoUArea6KUAKFc9mVBN0piabJLDSz+9k=; b=D5gi5W13vIpxyQ2Gw/oAZPRS9iL/CQPJE0VU6oaVb+bjlL4+OFh9qOxllzkaAAKvUN AL8nY20s63mooYYgpAN3qcXY7YCwg5a0rtbHIgsC5p8Ekn5j9yFQrDAGd9LlpnU1xCct 2LkY0nTBq0vYI8f855HHG/Jz54WZBLClU4fQLRJlFIZz8JPaKWQknqaTxkgUzeYxtEXT 6yXGmEF8mxUsin6YFA4VSLUFMmmzoaVaRH6dlmi4x9PVYbTkHAFlWKEoUcV1Artf3pyo /hdK4iYLo6duhQIsbGKW+vsOUeLiaDBe0Z71/awwI8wc7IukUvKHYV0H7yv6p9kEqa6x D5fA==
MIME-Version 1.0
X-Received by 10.68.96.130 with SMTP id ds2mr14061286pbb.99.1381414801341; Thu, 10 Oct 2013 07:20:01 -0700 (PDT)
In-Reply-To <l36ckk$f2n$1@reader1.panix.com>
References <mailman.937.1381411535.18130.python-list@python.org> <l36ckk$f2n$1@reader1.panix.com>
Date Fri, 11 Oct 2013 01:20:01 +1100
Subject Re: Complex literals (was Re: I am never going to complain about Python again)
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.945.1381414810.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1381414810 news.xs4all.nl 15960 [2001:888:2000:d::a6]:32888
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:56577

Show key headers only | View raw


On Fri, Oct 11, 2013 at 1:12 AM, Grant Edwards <invalid@invalid.invalid> wrote:
> Nope.  "i" is electical current (though it's more customary to use
> upper case).  "j" is the square root of -1.
>
>> 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?
>
> Because that's the way we do it in electrical engineering.
>

Okay, so hold on a minute... a hypercomplex number is the sum of a
real number, some electrical current, an imaginary number, and k?

This belongs in the Izzet League, I think.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Complex literals (was Re: I am never going to complain about Python again) Chris Angelico <rosuav@gmail.com> - 2013-10-11 00:25 +1100
  Re: Complex literals (was Re: I am never going to complain about Python again) Grant Edwards <invalid@invalid.invalid> - 2013-10-10 14:12 +0000
    Re: Complex literals (was Re: I am never going to complain about Python again) Chris Angelico <rosuav@gmail.com> - 2013-10-11 01:20 +1100
      Re: Complex literals (was Re: I am never going to complain about Python again) Grant Edwards <invalid@invalid.invalid> - 2013-10-10 16:54 +0000
        Re: Complex literals (was Re: I am never going to complain about Python again) Christian Gollwitzer <auriocus@gmx.de> - 2013-10-10 21:08 +0200
    Re: Complex literals (was Re: I am never going to complain about Python again) William Ray Wing <wrw@mac.com> - 2013-10-10 11:36 -0400
    Re: Complex literals (was Re: I am never going to complain about Python again) Ethan Furman <ethan@stoneleaf.us> - 2013-10-10 10:39 -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:13 -0400
    Re: Complex literals (was Re: I am never going to complain about Python again) Chris Angelico <rosuav@gmail.com> - 2013-10-11 17:01 +1100
    Re: Complex literals (was Re: I am never going to complain about Python again) Nobody <nobody@nowhere.com> - 2013-10-11 12:21 +0100
  Re: Complex literals (was Re: I am never going to complain about Python again) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-11 01:27 +0000
    Re: Complex literals (was Re: I am never going to complain about Python again) David <bouncingcats@gmail.com> - 2013-10-11 20:35 +1100
    Re: Complex literals (was Re: I am never going to complain about Python again) Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-10-11 12:30 +0100
      Re: Complex literals (was Re: I am never going to complain about Python again) Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-10-11 15:11 +0300
      Re: Complex literals (was Re: I am never going to complain about Python again) Roy Smith <roy@panix.com> - 2013-10-11 10:05 -0400
        Re: Complex literals (was Re: I am never going to complain about Python again) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-10-11 17:03 +0000
        Re: Complex literals (was Re: I am never going to complain about Python again) Gene Heskett <gheskett@wdtv.com> - 2013-10-11 13:00 -0400
    Re: Complex literals (was Re: I am never going to complain about Python again) John Nagle <nagle@animats.com> - 2013-10-15 22:27 -0700
      Re: Complex literals (was Re: I am never going to complain about Python again) Roy Smith <roy@panix.com> - 2013-10-16 08:21 -0400
      Re: Complex literals (was Re: I am never going to complain about Python again) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-16 13:22 -0400

csiph-web